Merge branch 'master' of gitea.iwm-tuebingen.de:IWMBrowser/iwmlib

# Conflicts:
#	lib/scatter.js
This commit is contained in:
2019-07-30 17:02:58 +02:00
2 changed files with 26 additions and 9 deletions
+11 -4
View File
@@ -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);
}
}