Remove lightbox on unload
This commit is contained in:
parent
9451dc5e41
commit
e2a2165d9c
1 changed files with 3 additions and 0 deletions
|
@ -282,6 +282,9 @@
|
|||
if (this.quoteView) {
|
||||
this.quoteView.remove();
|
||||
}
|
||||
if (this.lightboxView) {
|
||||
this.lightboxView.remove();
|
||||
}
|
||||
if (this.panels && this.panels.length) {
|
||||
for (let i = 0, max = this.panels.length; i < max; i += 1) {
|
||||
const panel = this.panels[i];
|
||||
|
|
Loading…
Reference in a new issue