diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index 162aa3a2d..13edfd5fe 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -391,14 +391,6 @@ var IPython = (function (IPython) { return cont; }; - CodeCell.prototype.unselect = function () { - var cont = IPython.Cell.prototype.unselect.apply(this); - if (cont) { - this.code_mirror.getInputField().blur(); - } - return cont; - }; - CodeCell.prototype.render = function () { var cont = IPython.Cell.prototype.render.apply(this); // Always execute, even if we are already in the rendered state diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index 12889be83..043eb865c 100644 --- a/IPython/html/static/notebook/js/notebook.js +++ b/IPython/html/static/notebook/js/notebook.js @@ -457,7 +457,6 @@ var IPython = (function (IPython) { if (this.is_valid_cell_index(index)) { var sindex = this.get_selected_index(); if (sindex !== null && index !== sindex) { - this.command_mode(); this.get_cell(sindex).unselect(); } var cell = this.get_cell(index);