Permalink
Browse files

Issue 4626 (Display of doctype for frames)

  • Loading branch information...
1 parent 1f28b44 commit bbc65b96df50fe72d9ad16aa819335dd2b054acd @SebastianZ SebastianZ committed with janodvarko Jul 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 extension/content/firebug/html/htmlPanel.js
View
4 extension/content/firebug/html/htmlPanel.js
@@ -932,8 +932,8 @@ Firebug.HTMLPanel.prototype = Obj.extend(WalkingPanel,
{
if (index == 0)
{
- // punch thru and adopt the root element as our child
- var skipChild = node.contentDocument.documentElement;
+ // punch thru and adopt the document node as our child
+ var skipChild = node.contentDocument.firstChild;
// (the node's).(type 9 document).(HTMLElement)
return this.setEmbedConnection(node, skipChild);

0 comments on commit bbc65b9

Please sign in to comment.