From bbf444acf8a0ef1029031ebc695e925b75761222 2014-02-27 23:45:06 From: Brian E. Granger Date: 2014-02-27 23:45:06 Subject: [PATCH] Always refresh the CM editor upon TextCell unrender. --- diff --git a/IPython/html/static/notebook/js/textcell.js b/IPython/html/static/notebook/js/textcell.js index 16948e9..fbffe8c 100644 --- a/IPython/html/static/notebook/js/textcell.js +++ b/IPython/html/static/notebook/js/textcell.js @@ -193,9 +193,8 @@ var IPython = (function (IPython) { text_cell.find('div.text_cell_input').show(); if (this.get_text() === this.placeholder) { this.set_text(''); - this.refresh(); } - + this.refresh(); } return cont; };