Index: include.preload.js |
=================================================================== |
--- a/include.preload.js |
+++ b/include.preload.js |
@@ -436,17 +436,17 @@ |
).join(", "); |
this.style.sheet.insertRule(selector + "{display: none !important;}", |
this.style.sheet.cssRules.length); |
} |
}, |
addSelectors(selectors, filters) |
{ |
- if (!selectors || selectors.length == 0) |
+ if (selectors.length == 0) |
return; |
if (this.inject) |
{ |
// Insert the style rules inline if we have been instructed by the |
// background page to do so. This is usually the case, except on platforms |
// that do support user stylesheets via the chrome.tabs.insertCSS API |
// (Firefox 53 onwards for now and possibly Chrome in the near future). |