mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 08:13:38 +00:00
Merge "Fix JS error happening when closing "use this file" dialog"
This commit is contained in:
commit
31c2b4169f
|
@ -111,7 +111,7 @@
|
|||
ownId = 'mw-mlb-use-file-onwiki-normal',
|
||||
owId = 'mw-mlb-use-file-offwiki',
|
||||
|
||||
viewer = this.viewer,
|
||||
reuse = this,
|
||||
|
||||
$owtLabel = $( '<label>' )
|
||||
.prop( 'for', owtId )
|
||||
|
@ -175,7 +175,7 @@
|
|||
width: 750,
|
||||
close: function () {
|
||||
// Delete the dialog object
|
||||
viewer.ui.$dialog = undefined;
|
||||
reuse.$dialog = undefined;
|
||||
}
|
||||
} );
|
||||
|
||||
|
|
Loading…
Reference in a new issue