diff --git a/resources/mmv/mmv.lightboxinterface.js b/resources/mmv/mmv.lightboxinterface.js index 02281d448..db9a56ebf 100644 --- a/resources/mmv/mmv.lightboxinterface.js +++ b/resources/mmv/mmv.lightboxinterface.js @@ -235,6 +235,9 @@ this.fileReuse.unattach(); this.fileReuse.closeDialog(); + this.downloadDialog.unattach(); + this.downloadDialog.closeDialog(); + this.clearEvents(); // We trigger this event on the document because unattach() can run