From ea32220f8f7fe823aeb68b43c2c96274ef253061 Mon Sep 17 00:00:00 2001 From: Bussonnier Matthias Date: Fri, 25 Nov 2011 11:27:07 +0100 Subject: [PATCH] fix firefox (windows) break line on empty prompt number --- IPython/frontend/html/notebook/static/js/codecell.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/frontend/html/notebook/static/js/codecell.js b/IPython/frontend/html/notebook/static/js/codecell.js index dcd81a336..c96d4b22c 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 + ']:'); };