clone: remove unnecessary clean on deletion

This commit is contained in:
jean-emmanuel 2018-10-13 16:50:32 +02:00
parent b1d83da451
commit d9d581454c

View file

@ -188,8 +188,7 @@ class Clone extends Widget {
}
onRemove(){
this.cleanClone();
this.cloneTarget = null;
widgetManager.off(`widget-removed.${this.hash}`)
super.onRemove()