mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Merge pull request #2519 from ivanov/clear-input-prompt-on-clear-all-output
clear In[ ] prompt numbers again
This commit is contained in:
commit
7701373695
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user