Fixed glitch when widgetarea wouldn't get completely hidden upon re-execution

This commit is contained in:
Jonathan Frederic 2013-10-17 19:50:07 +00:00
parent cb7eb8354f
commit 5cac3fceae

View File

@ -304,9 +304,13 @@ var IPython = (function (IPython) {
*/
CodeCell.prototype.execute = function () {
this.output_area.clear_output();
// Clear widget area
this.widget_subarea.html('');
this.widget_subarea.height('');
this.widget_area.height('');
this.widget_area.hide();
this.set_input_prompt('*');
this.element.addClass("running");
if (this.last_msg_id) {