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) {
|
if (this.quoteView) {
|
||||||
this.quoteView.remove();
|
this.quoteView.remove();
|
||||||
}
|
}
|
||||||
|
if (this.lightboxView) {
|
||||||
|
this.lightboxView.remove();
|
||||||
|
}
|
||||||
if (this.panels && this.panels.length) {
|
if (this.panels && this.panels.length) {
|
||||||
for (let i = 0, max = this.panels.length; i < max; i += 1) {
|
for (let i = 0, max = this.panels.length; i < max; i += 1) {
|
||||||
const panel = this.panels[i];
|
const panel = this.panels[i];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue