Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix the attach logic

  • Loading branch information...
commit 90fa86de50c2787e3ce1e8270d1f6602f28acbbf 1 parent 87ac7f5
Jan Odvarko authored September 03, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  extension/content/firebug/firebug.js
3  extension/content/firebug/firebug.js
@@ -901,7 +901,8 @@ window.Firebug =
901 901
         //detached -> inbrowser
902 902
         if (!forceOpen && Firebug.isDetached())
903 903
         {
904  
-            var topWin = Firebug.chrome.window.top;
  904
+            // We need firebug.xul here so, don't use 'top' since it references browser.xul
  905
+            var topWin = Firebug.chrome.window.parent;
905 906
             topWin.exportFirebug();
906 907
             topWin.close();
907 908
 

0 notes on commit 90fa86d

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