Permalink
Browse files

scroll console to the bottom after running user code

  • Loading branch information...
1 parent b3bbc89 commit 755351dbf345dc7ecbdb447f7081d3c417a1e34a @nightwing nightwing committed with SebastianZ Aug 2, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 extension/content/firebug/console/commandLine.js
@@ -450,6 +450,10 @@ Firebug.CommandLine = Obj.extend(Firebug.Module,
if (noscript && noScriptURI)
noscript.setJSEnabled(noScriptURI, false);
+
+ var consolePanel = Firebug.currentContext.panelMap.console;
+ if (consolePanel)
+ Dom.scrollToBottom(consolePanel.panelNode);
},
enterInspect: function(context)

0 comments on commit 755351d

Please sign in to comment.