Fix the prompt_area argument of the output area constructor. (#2961)

See https://github.com/jupyter/notebook/pull/2681#issuecomment-338322212 and https://github.com/jupyter-widgets/ipywidgets/issues/1765
This commit is contained in:
Jason Grout 2017-10-20 17:10:12 -07:00 committed by Grant Nestor
parent c888b6a7b9
commit 1405693943

View File

@ -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');