Permalink
Browse files

Always use parent of the Firebug window (not top)

  • Loading branch information...
janodvarko committed Oct 11, 2012
1 parent 8557001 commit 7334c87bbbd5169a93a54b6aacd8a88b44299d7b
Showing with 1 addition and 2 deletions.
  1. +1 −2 extension/content/firebug/chrome/chrome.js
@@ -1111,8 +1111,7 @@ var FirebugChrome =
var vertical = pos == "top" || pos == "bottom";
var after = pos == "bottom" || pos == "right";
- // xxxHonza: shouldn't this be rather: window.parent.document?
- var document = window.top.document;
+ var document = window.parent.document;
var container = document.getElementById(vertical ? "appcontent" : "browser");
var splitter = Firefox.getElementById("fbContentSplitter");

0 comments on commit 7334c87

Please sign in to comment.