mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Fixed glitch when widgetarea wouldn't get completely hidden upon re-execution
This commit is contained in:
parent
cb7eb8354f
commit
5cac3fceae
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user