##// END OF EJS Templates
Remove fixes that are implemented correct in new CM
Jonathan Frederic -
Show More
@@ -391,14 +391,6 var IPython = (function (IPython) {
391 return cont;
391 return cont;
392 };
392 };
393
393
394 CodeCell.prototype.unselect = function () {
395 var cont = IPython.Cell.prototype.unselect.apply(this);
396 if (cont) {
397 this.code_mirror.getInputField().blur();
398 }
399 return cont;
400 };
401
402 CodeCell.prototype.render = function () {
394 CodeCell.prototype.render = function () {
403 var cont = IPython.Cell.prototype.render.apply(this);
395 var cont = IPython.Cell.prototype.render.apply(this);
404 // Always execute, even if we are already in the rendered state
396 // Always execute, even if we are already in the rendered state
@@ -457,7 +457,6 var IPython = (function (IPython) {
457 if (this.is_valid_cell_index(index)) {
457 if (this.is_valid_cell_index(index)) {
458 var sindex = this.get_selected_index();
458 var sindex = this.get_selected_index();
459 if (sindex !== null && index !== sindex) {
459 if (sindex !== null && index !== sindex) {
460 this.command_mode();
461 this.get_cell(sindex).unselect();
460 this.get_cell(sindex).unselect();
462 }
461 }
463 var cell = this.get_cell(index);
462 var cell = this.get_cell(index);
General Comments 0
You need to be logged in to leave comments. Login now