##// END OF EJS Templates
Removing extra refresh in PlaintextCell.
Brian Granger -
Show More
@@ -258,11 +258,8 b' var IPython = (function (IPython) {'
258
258
259 PlaintextCell.prototype.select = function () {
259 PlaintextCell.prototype.select = function () {
260 IPython.Cell.prototype.select.apply(this);
260 IPython.Cell.prototype.select.apply(this);
261 // In some cases (inserting a new cell) we need a refresh before and
262 // after the focus. Not sure why this is the case.
263 this.code_mirror.refresh();
261 this.code_mirror.refresh();
264 this.code_mirror.focus();
262 this.code_mirror.focus();
265 this.code_mirror.refresh();
266 };
263 };
267
264
268
265
General Comments 0
You need to be logged in to leave comments. Login now