diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index 595353ace..556f3999a 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -938,7 +938,6 @@ define([ if (this.mode !== 'command') { cell.command_mode(); this.mode = 'command'; - $('div[class*="code_cell"]') this.events.trigger('command_mode.Notebook'); this.keyboard_manager.command_mode(); } @@ -966,10 +965,6 @@ define([ if (cell && this.mode !== 'edit') { cell.edit_mode(); this.mode = 'edit'; -<<<<<<< HEAD -======= - $('div[class*="code_cell"]') ->>>>>>> 1dbabaa0a... #4006: fixed the edit-metadata button so that focus returns to it after closing the popup this.events.trigger('edit_mode.Notebook'); this.keyboard_manager.edit_mode(); }