Index: chrome/content/composer.js |
=================================================================== |
--- a/chrome/content/composer.js |
+++ b/chrome/content/composer.js |
@@ -135,6 +135,7 @@ |
var element = window.arguments[0]; |
doc = element.ownerDocument; |
var wnd = doc.defaultView; |
+ wnd.addEventListener("unload", function(event){ togglePreview(false); }, true); |
Wladimir Palant
2012/11/08 10:42:34
So togglePreview() is the issue? Then this is the
Andrey Novikov
2012/11/08 10:54:54
Exact issue is that previewStyle is dead object af
|
// Check whether element hiding group is disabled |
let subscription = AdblockPlus.getSubscription("~eh~"); |