Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…rebug any other way
  • Loading branch information...
commit dd312eba3c1c94953be1aa2435a460c51e8119bd 1 parent f54b3ab
Jan Odvarko authored October 31, 2012

Showing 1 changed file with 9 additions and 12 deletions. Show diff stats Hide diff stats

  1. 21  extension/bootstrap.js
21  extension/bootstrap.js
@@ -128,18 +128,15 @@ var windowWatcher =
128 128
     QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver]),
129 129
     observe: function windowWatcher(win, topic, data)
130 130
     {
131  
-        if (win.location.href !== "about:blank")
132  
-        {
133  
-            // https://bugzil.la/795961 ?
134  
-            win.addEventListener("load", function onLoad(evt)
135  
-            { 
136  
-                // load listener not necessary once https://bugzil.la/800677 is fixed
137  
-                var win = evt.currentTarget;
138  
-                win.removeEventListener("load", onLoad, false);
139  
-                if (win.document.documentElement.getAttribute("windowtype") == "navigator:browser")
140  
-                    FirebugLoader.loadIntoWindow(win);
141  
-            }, false);
142  
-        }
  131
+        // https://bugzil.la/795961 ?
  132
+        win.addEventListener("load", function onLoad(evt)
  133
+        { 
  134
+            // load listener not necessary once https://bugzil.la/800677 is fixed
  135
+            var win = evt.currentTarget;
  136
+            win.removeEventListener("load", onLoad, false);
  137
+            if (win.document.documentElement.getAttribute("windowtype") == "navigator:browser")
  138
+                FirebugLoader.loadIntoWindow(win);
  139
+        }, false);
143 140
     }
144 141
 };
145 142
 

0 notes on commit dd312eb

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