fix firefox (windows) break line on empty prompt number

Bussonnier Matthias 15 years ago committed by Fernando Perez
parent 9ab78ba545
commit ea32220f8f

@ -15,7 +15,7 @@ var IPython = (function (IPython) {
var CodeCell = function (notebook) {
this.code_mirror = null;
this.input_prompt_number = ' ';
this.input_prompt_number = ' ';
this.is_completing = false;
this.completion_cursor = null;
this.outputs = [];
@ -588,7 +588,7 @@ var IPython = (function (IPython) {
};
CodeCell.prototype.set_input_prompt = function (number) {
var n = number || ' ';
var n = number || ' ';
this.input_prompt_number = n
this.element.find('div.input_prompt').html('In [' + n + ']:');
};

Loading…
Cancel
Save