mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Remove fixes that are implemented correct in new CM
This commit is contained in:
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…
Reference in New Issue
Block a user