##// END OF EJS Templates
Adding refresh/focus/refresh back to edit to fix bug in FF.
Brian Granger -
Show More
@@ -100,8 +100,10 b' var IPython = (function (IPython) {'
100 100 // refresh/focus/refresh, the to_markdown method won't work.
101 101 this.code_mirror.refresh();
102 102 this.code_mirror.focus();
103 // In some wierd cases we seem to need this extra refresh.
104 //this.code_mirror.refresh();
103 // This final refresh is needed on Firefox to trigger the editor
104 // to be auto-sized. This glitch only happens on cell that are
105 // loaded initially and haven't had their editor focused before.
106 this.code_mirror.refresh();
105 107 this.rendered = false;
106 108 if (this.get_text() === this.placeholder) {
107 109 this.set_text('');
General Comments 0
You need to be logged in to leave comments. Login now