2
0
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:
Brian Granger 2012-05-09 20:11:08 -07:00
parent 6268e0a4b1
commit 644b1f85ed
2 changed files with 4 additions and 2 deletions
IPython/frontend/html/notebook/static/js

View File

@ -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

View File

@ -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();
};