diff --git a/IPython/html/static/notebook/js/outputarea.js b/IPython/html/static/notebook/js/outputarea.js index 2b3e9bf..571bfa7 100644 --- a/IPython/html/static/notebook/js/outputarea.js +++ b/IPython/html/static/notebook/js/outputarea.js @@ -138,7 +138,9 @@ define([ if (this.collapsed) { this.collapse_button.hide(); this.element.show(); - this.prompt_overlay.show(); + if (this.prompt_area) { + this.prompt_overlay.show(); + } this.collapsed = false; this.scroll_if_long(); }