Merge "Fixes the UI refactor"

This commit is contained in:
jenkins-bot 2013-11-28 21:30:27 +00:00 committed by Gerrit Code Review
commit 3ed21410a6

View file

@ -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',