mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 04:43:18 +00:00
Fix download panel not showing on rclick after pressing esc
Bug: T86389 Change-Id: Ic158c579c4a7a6e48bcbd9cdfb724712b1e2fece
This commit is contained in:
parent
af1e9ac4e9
commit
b2aaae4b19
|
@ -242,8 +242,6 @@
|
|||
|
||||
this.currentlyAttached = false;
|
||||
|
||||
this.canvas.unattach();
|
||||
|
||||
this.buttons.unattach();
|
||||
|
||||
this.$postDiv.off( '.lip' );
|
||||
|
@ -258,6 +256,9 @@
|
|||
this.optionsDialog.unattach();
|
||||
this.optionsDialog.closeDialog();
|
||||
|
||||
// Canvas listens for events from dialogs, so should be unattached at the end
|
||||
this.canvas.unattach();
|
||||
|
||||
this.clearEvents();
|
||||
|
||||
// We trigger this event on the document because unattach() can run
|
||||
|
|
Loading…
Reference in a new issue