From bc23e28d7091fcadf6d5ebf866765170daa5e974 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Fri, 20 Oct 2017 14:10:22 -0700 Subject: [PATCH] Fix the prompt_area argument of the output area constructor. See https://github.com/jupyter/notebook/pull/2681#issuecomment-338322212 and https://github.com/jupyter-widgets/ipywidgets/issues/1765 --- notebook/static/notebook/js/outputarea.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/notebook/static/notebook/js/outputarea.js b/notebook/static/notebook/js/outputarea.js index 66a1ffcdbb..b91681a743 100644 --- a/notebook/static/notebook/js/outputarea.js +++ b/notebook/static/notebook/js/outputarea.js @@ -77,6 +77,9 @@ define([ OutputArea.prototype.style = function () { this.collapse_button.hide(); + if (!this.prompt_area) { + this.prompt_overlay.hide(); + } this.wrapper.addClass('output_wrapper'); this.element.addClass('output');