Index: lib/content/elemHideEmulation.js |
=================================================================== |
--- a/lib/content/elemHideEmulation.js |
+++ b/lib/content/elemHideEmulation.js |
@@ -718,17 +718,18 @@ |
}; |
if (this._scheduledProcessing) |
{ |
if (!stylesheets && !mutations) |
{ |
this._scheduledProcessing = {}; |
} |
- else |
+ else if (this._scheduledProcessing.stylesheets || |
+ this._scheduledProcessing.mutations) |
{ |
if (stylesheets) |
{ |
if (!this._scheduledProcessing.stylesheets) |
this._scheduledProcessing.stylesheets = []; |
this._scheduledProcessing.stylesheets.push(...stylesheets); |
} |
if (mutations) |