mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-19 13:20:36 +08:00
Fix status ind. icon bug
This commit is contained in:
parent
443083c1fd
commit
d37ffe91b7
@ -267,6 +267,7 @@ var IPython = (function (IPython) {
|
||||
// of codemirror, we wouldn't have to play this game since codemirror
|
||||
// wouldn't blur when the completer was shown.
|
||||
this.cell.edit_mode();
|
||||
$([IPython.events]).trigger('edit_mode.Notebook');
|
||||
IPython.keyboard_manager.disable();
|
||||
// Opera sometimes ignores focusing a freshly created node
|
||||
if (window.opera) setTimeout(function () {
|
||||
@ -299,6 +300,7 @@ var IPython = (function (IPython) {
|
||||
// of codemirror, we wouldn't have to play this game since codemirror
|
||||
// wouldn't blur when the completer was shown.
|
||||
this.cell.command_mode();
|
||||
$([IPython.events]).trigger('command_mode.Notebook');
|
||||
IPython.keyboard_manager.enable();
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user