lib/termvana/public/js/jquery.repl.js in termvana-0.2.0.beta2 vs lib/termvana/public/js/jquery.repl.js in termvana-0.2.0.beta3

- old
+ new

@@ -65,10 +65,10 @@ var node = $("<div class='command'>"); node.append($("<code>")) $("code", node).append($("<pre>").text(str)); screen.append(node); - return $('body').scrollTop($('body').attr('scrollHeight')); + return $('.termkitCommandView').scrollTop($('.termkitCommandView').height()); }, disable: function() { $('#'+prompt_id).hide(); return input.hide(); },