mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Clear widgets upon cell execute
This commit is contained in:
parent
2b3d6ab2e4
commit
686dd7aea0
@ -304,6 +304,9 @@ var IPython = (function (IPython) {
|
||||
*/
|
||||
CodeCell.prototype.execute = function () {
|
||||
this.output_area.clear_output();
|
||||
this.widget_subarea.html('');
|
||||
this.widget_subarea.height('');
|
||||
this.widget_area.height('');
|
||||
this.set_input_prompt('*');
|
||||
this.element.addClass("running");
|
||||
if (this.last_msg_id) {
|
||||
|
Loading…
Reference in New Issue
Block a user