##// END OF EJS Templates
render on focus out, always pad raw cells
Paul Ivanov -
Show More
@@ -389,6 +389,7 b' var IPython = (function (IPython) {'
389 389 var that = this;
390 390 this.element.focusout(function() {
391 391 that.auto_highlight();
392 that.render();
392 393 });
393 394
394 395 this.code_mirror.on('focus', function() { that.unrender(); });
@@ -409,6 +410,7 b' var IPython = (function (IPython) {'
409 410 var text = this.get_text();
410 411 if (text === "") { text = this.placeholder; }
411 412 this.set_text(text);
413 this.element.removeClass('rendered');
412 414 }
413 415 return cont;
414 416 };
General Comments 0
You need to be logged in to leave comments. Login now