From 0b3cb7764d6789211d79681169427fed270db9e1 Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Thu, 25 Oct 2012 19:54:56 -0700 Subject: [PATCH] clear In[ ] prompt numbers again --- IPython/frontend/html/notebook/static/js/codecell.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/IPython/frontend/html/notebook/static/js/codecell.js b/IPython/frontend/html/notebook/static/js/codecell.js index 22885d623..857e8f526 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); };