Remove fixes that are implemented correct in new CM

This commit is contained in:
Jonathan Frederic 2014-02-27 15:47:01 -08:00
parent e847a31348
commit 048ca30b0c
2 changed files with 0 additions and 9 deletions

View File

@ -391,14 +391,6 @@ var IPython = (function (IPython) {
return cont; 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 () { CodeCell.prototype.render = function () {
var cont = IPython.Cell.prototype.render.apply(this); var cont = IPython.Cell.prototype.render.apply(this);
// Always execute, even if we are already in the rendered state // Always execute, even if we are already in the rendered state

View File

@ -457,7 +457,6 @@ var IPython = (function (IPython) {
if (this.is_valid_cell_index(index)) { if (this.is_valid_cell_index(index)) {
var sindex = this.get_selected_index(); var sindex = this.get_selected_index();
if (sindex !== null && index !== sindex) { if (sindex !== null && index !== sindex) {
this.command_mode();
this.get_cell(sindex).unselect(); this.get_cell(sindex).unselect();
} }
var cell = this.get_cell(index); var cell = this.get_cell(index);