From e82606cfe808696c4d4f29b17be6d8a0ed6d1694 2015-02-02 20:22:38 From: Jonathan Frederic Date: 2015-02-02 20:22:38 Subject: [PATCH] Merge pull request #7661 from minrk/prompt-overlay-only-on-prompt only show prompt overlay if there's a prompt --- 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(); }