Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue 6043: Firebug icon disappears from add-on bar; cannot access fi…

…rebug any other way
  • Loading branch information...
commit 77093e782aa7b3984b56a5129f6f5a79aaa77dcb 1 parent 27061b1
@janodvarko janodvarko authored
Showing with 9 additions and 12 deletions.
  1. +9 −12 extension/bootstrap.js
View
21 extension/bootstrap.js
@@ -128,18 +128,15 @@ var windowWatcher =
QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver]),
observe: function windowWatcher(win, topic, data)
{
- if (win.location.href !== "about:blank")
- {
- // https://bugzil.la/795961 ?
- win.addEventListener("load", function onLoad(evt)
- {
- // load listener not necessary once https://bugzil.la/800677 is fixed
- var win = evt.currentTarget;
- win.removeEventListener("load", onLoad, false);
- if (win.document.documentElement.getAttribute("windowtype") == "navigator:browser")
- FirebugLoader.loadIntoWindow(win);
- }, false);
- }
+ // https://bugzil.la/795961 ?
+ win.addEventListener("load", function onLoad(evt)
+ {
+ // load listener not necessary once https://bugzil.la/800677 is fixed
+ var win = evt.currentTarget;
+ win.removeEventListener("load", onLoad, false);
+ if (win.document.documentElement.getAttribute("windowtype") == "navigator:browser")
+ FirebugLoader.loadIntoWindow(win);
+ }, false);
}
};

0 comments on commit 77093e7

Please sign in to comment.
Something went wrong with that request. Please try again.