revert
This commit is contained in:
parent
650f2b4d93
commit
de11611005
@ -415,14 +415,7 @@ TreeStyleTabWindow.prototype = {
|
|||||||
var w = this.window;
|
var w = this.window;
|
||||||
w.removeEventListener('load', this, false);
|
w.removeEventListener('load', this, false);
|
||||||
|
|
||||||
/**
|
w.addEventListener('unload', this, false);
|
||||||
* We should register event handler with delay, to do destruction
|
|
||||||
* process later than other addons.
|
|
||||||
*/
|
|
||||||
var self = this;
|
|
||||||
this.Deferred.next(function() {
|
|
||||||
w.addEventListener('unload', self, false);
|
|
||||||
});
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
w.location.href.indexOf('chrome://browser/content/browser.xul') != 0 ||
|
w.location.href.indexOf('chrome://browser/content/browser.xul') != 0 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user