Merge pull request #2519 from ivanov/clear-input-prompt-on-clear-all-output

clear In[ ] prompt numbers again
This commit is contained in:
Paul Ivanov 2012-10-26 00:59:39 -07:00
commit 7701373695

View File

@ -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;
}
var prompt_html = CodeCell.input_prompt_function(this.input_prompt_number, nline);
this.element.find('div.input_prompt').html(prompt_html);
};