Permalink
Browse files

clear In[ ] prompt numbers again

  • Loading branch information...
1 parent 3d4dc71 commit 6b87bba0d073b51c82d3f13f3cb18659276cdf67 @ivanov committed Oct 26, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 IPython/frontend/html/notebook/static/js/codecell.js
View
4 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);
};

0 comments on commit 6b87bba

Please sign in to comment.