Permalink
Browse files

When promptText is called externally, column now moves to the end of …

…the line.
  • Loading branch information...
1 parent f680bb4 commit bd868bf67e044340b9da43b9acbf009cb10c3df8 @spratt spratt committed Jun 15, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 jquery.console.js
View
@@ -546,8 +546,7 @@
extern.promptText = function(text){
if (text) {
promptText = text;
- if (column > promptText.length)
- column = promptText.length;
+ column = promptText.length;
updatePromptDisplay();
}
return promptText;

0 comments on commit bd868bf

Please sign in to comment.