Backed out changeset 756dc51160cf (bug 1044600) CLOSED TREE

This commit is contained in:
Jared Wein
2015-02-03 19:02:49 -05:00
parent 54a848fc76
commit a378b1fa8f
2 changed files with 1 additions and 23 deletions

View File

@@ -37,12 +37,6 @@ let gSubDialog = {
// Wait for the stylesheets injected during DOMContentLoaded to load before showing the dialog
// otherwise there is a flicker of the stylesheet applying.
this._frame.addEventListener("load", this._onLoad.bind(this));
chromeBrowser.addEventListener("unload", function(aEvent) {
if (aEvent.target.location.href != "about:blank") {
this.close();
}
}.bind(this), true);
},
uninit: function() {