Index: chrome/content/ui/typoSettings.js |
=================================================================== |
--- a/chrome/content/ui/typoSettings.js |
+++ b/chrome/content/ui/typoSettings.js |
@@ -108,7 +108,9 @@ |
} |
}; |
+// only interact with UI if loaded in the context of filter settings dialog |
Thomas Greiner
2013/05/24 10:19:12
tried to put the whole block under the if but resu
Wladimir Palant
2013/05/27 11:02:00
Please revert these changes, this script should on
Thomas Greiner
2013/05/27 13:03:16
Done.
|
window.addEventListener("load", function() |
{ |
- TypoActions.init(); |
+ if (document.documentElement.id == "abpFiltersWindow") |
+ TypoActions.init(); |
}, false); |