mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 01:50:09 +00:00
Merge "Fixes the UI refactor"
This commit is contained in:
commit
3ed21410a6
|
@ -244,15 +244,13 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var $this = $( this ),
|
var fileTitle = this.$useFile.data( 'title' ),
|
||||||
|
|
||||||
fileTitle = $this.data( 'title' ),
|
|
||||||
|
|
||||||
filename = fileTitle.getPrefixedText(),
|
filename = fileTitle.getPrefixedText(),
|
||||||
desc = fileTitle.getNameText(),
|
desc = fileTitle.getNameText(),
|
||||||
|
|
||||||
src = $this.data( 'src' ),
|
src = this.$useFile.data( 'src' ),
|
||||||
link = $this.data( 'link' ) || src,
|
link = this.$useFile.data( 'link' ) || src,
|
||||||
|
|
||||||
owtId = 'mw-mlb-use-file-onwiki-thumb',
|
owtId = 'mw-mlb-use-file-onwiki-thumb',
|
||||||
ownId = 'mw-mlb-use-file-onwiki-normal',
|
ownId = 'mw-mlb-use-file-onwiki-normal',
|
||||||
|
|
Loading…
Reference in a new issue