mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Trigger 'cleared' event when output area is cleared
This commit is contained in:
parent
6b031e8d47
commit
64fe3f1618
@ -969,6 +969,7 @@ define([
|
||||
|
||||
// Notify others of changes.
|
||||
this.element.trigger('changed');
|
||||
this.element.trigger('cleared');
|
||||
|
||||
this.outputs = [];
|
||||
this._display_id_targets = {};
|
||||
|
Loading…
Reference in New Issue
Block a user