Permalink
Browse files

Issue 4979; fix console/api/count test

  • Loading branch information...
1 parent 4726f90 commit eac4980725b7ef01691200473572a42b986647e9 @janodvarko janodvarko committed Jul 2, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 extension/content/firebug/console/consoleExposed.js
View
5 extension/content/firebug/console/consoleExposed.js
@@ -156,13 +156,16 @@ function createFirebugConsole(context, win)
context.frameCounters[frameId] = frameCounter;
}
else
+ {
++frameCounter.count;
+ }
var label = key == undefined
? frameCounter.count
: key + " " + frameCounter.count;
- frameCounter.logRow.firstChild.firstChild.nodeValue = label;
+ var node = frameCounter.logRow.getElementsByClassName("objectBox-text")[0];
+ node.firstChild.nodeValue = label;
}
return Console.getDefaultReturnValue(win);
};

0 comments on commit eac4980

Please sign in to comment.