Remove fixes that are implemented correct in new CM

pull/37/head
Jonathan Frederic 12 years ago
parent e847a31348
commit 048ca30b0c

@ -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

@ -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);

Loading…
Cancel
Save