Fix an exception and remove code that was missed when TextPrompt
[WebKit-https.git] / WebCore / page / inspector / Console.js
index e2f5e28..e0351ac 100644 (file)
@@ -250,11 +250,6 @@ WebInspector.ConsolePanel.prototype = {
         if (!str.length)
             return;
 
-        this.commandHistory.push(str);
-        this.commandOffset = 0;
-
-        this.promptText = "";
-
         var result;
         var exception = false;
         try {