mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Fixing bug in prompt_area handling of OutputArea.
This commit is contained in:
parent
6268e0a4b1
commit
644b1f85ed
IPython/frontend/html/notebook/static/js
@ -44,7 +44,7 @@ var IPython = (function (IPython) {
|
||||
var output = $('<div></div>');
|
||||
cell.append(input).append(output);
|
||||
this.element = cell;
|
||||
this.output_area = new IPython.OutputArea(output, false);
|
||||
this.output_area = new IPython.OutputArea(output, true);
|
||||
|
||||
// construct a completer only if class exist
|
||||
// otherwise no print view
|
||||
|
@ -22,7 +22,9 @@ var IPython = (function (IPython) {
|
||||
this.clear_out_timeout = null;
|
||||
if (prompt_area === undefined) {
|
||||
this.prompt_area = true;
|
||||
}
|
||||
} else {
|
||||
this.prompt_area = prompt_area;
|
||||
};
|
||||
this.style();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user