Merge branch 'master' of gitea.iwm-tuebingen.de:IWMBrowser/iwmlib
# Conflicts: # lib/scatter.js
This commit is contained in:
Vendored
+11
-4
@@ -6771,15 +6771,22 @@
|
||||
}
|
||||
|
||||
close() {
|
||||
this._callCloseCallbacks();
|
||||
this._removeSelfFromScatterContainer();
|
||||
}
|
||||
|
||||
_callCloseCallbacks() {
|
||||
if (this.onClose) {
|
||||
this.onClose.forEach(callback => callback(this));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
_removeSelfFromScatterContainer() {
|
||||
/**
|
||||
Removes self from container when it's closed.
|
||||
*/
|
||||
if (this.container) {
|
||||
this.container.remove(this);
|
||||
}
|
||||
if (this.container) {
|
||||
this.container.remove(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user