mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
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:
parent
c888b6a7b9
commit
1405693943
@ -77,6 +77,9 @@ define([
|
|||||||
|
|
||||||
OutputArea.prototype.style = function () {
|
OutputArea.prototype.style = function () {
|
||||||
this.collapse_button.hide();
|
this.collapse_button.hide();
|
||||||
|
if (!this.prompt_area) {
|
||||||
|
this.prompt_overlay.hide();
|
||||||
|
}
|
||||||
|
|
||||||
this.wrapper.addClass('output_wrapper');
|
this.wrapper.addClass('output_wrapper');
|
||||||
this.element.addClass('output');
|
this.element.addClass('output');
|
||||||
|
Loading…
Reference in New Issue
Block a user