diff --git a/IPython/html/static/notebook/js/outputarea.js b/IPython/html/static/notebook/js/outputarea.js
index caa49ec..8d14a75 100644
--- a/IPython/html/static/notebook/js/outputarea.js
+++ b/IPython/html/static/notebook/js/outputarea.js
@@ -545,7 +545,10 @@ var IPython = (function (IPython) {
         this.expand();
         this.flush_clear_timeout();
         var area = this.create_output_area();
-
+        
+        // disable any other raw_inputs, if they are left around
+        $("div.output_subarea.raw_input").remove();
+        
         area.append(
             $("<div/>")
             .addClass("box-flex1 output_subarea raw_input")