From e87124eb41b627329bff310b4e6514e9585f68ad 2011-11-25 23:07:34 From: Bussonnier Matthias Date: 2011-11-25 23:07:34 Subject: [PATCH] fix firefox (windows) break line on empty prompt number --- diff --git a/IPython/frontend/html/notebook/static/js/codecell.js b/IPython/frontend/html/notebook/static/js/codecell.js index dcd81a3..c96d4b2 100644 --- a/IPython/frontend/html/notebook/static/js/codecell.js +++ b/IPython/frontend/html/notebook/static/js/codecell.js @@ -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 + ']:'); };