From 6b87bba0d073b51c82d3f13f3cb18659276cdf67 2012-10-26 02:54:56 From: Paul Ivanov Date: 2012-10-26 02:54:56 Subject: [PATCH] clear In[ ] prompt numbers again --- diff --git a/IPython/frontend/html/notebook/static/js/codecell.js b/IPython/frontend/html/notebook/static/js/codecell.js index 22885d6..857e8f5 100644 --- a/IPython/frontend/html/notebook/static/js/codecell.js +++ b/IPython/frontend/html/notebook/static/js/codecell.js @@ -247,9 +247,7 @@ var IPython = (function (IPython) { if( this.code_mirror != undefined) { nline = this.code_mirror.lineCount(); } - if (number){ - this.input_prompt_number = number; - } + this.input_prompt_number = number; var prompt_html = CodeCell.input_prompt_function(this.input_prompt_number, nline); this.element.find('div.input_prompt').html(prompt_html); };