Removing extra refresh in PlaintextCell.

pull/37/head
Brian Granger 14 years ago
parent bdd17da81d
commit d7efc05572

@ -258,11 +258,8 @@ var IPython = (function (IPython) {
PlaintextCell.prototype.select = function () {
IPython.Cell.prototype.select.apply(this);
// In some cases (inserting a new cell) we need a refresh before and
// after the focus. Not sure why this is the case.
this.code_mirror.refresh();
this.code_mirror.focus();
this.code_mirror.refresh();
};

Loading…
Cancel
Save