Remove lightbox on unload

This commit is contained in:
Daniel Gasienica 2018-04-26 16:49:10 -04:00
parent 9451dc5e41
commit e2a2165d9c

View file

@ -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];