mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
Merge "Fix repoinfo loading bug"
This commit is contained in:
commit
09314b3df9
|
@ -652,7 +652,7 @@
|
|||
mdpid = this.profileStart( 'metadata-fetch' );
|
||||
|
||||
this.fetchImageInfoAndFileUsageInfo( image.filePageTitle ).then( function ( imageData, repoInfo, targetWidth, requestedWidth, localUsage, globalUsage ) {
|
||||
var repoData = mw.mmv.model.Repo.newFromRepoInfo( repoInfo[imageData.repo] );
|
||||
var repoData = repoInfo[imageData.repo];
|
||||
|
||||
viewer.profileEnd( mdpid );
|
||||
|
||||
|
|
Loading…
Reference in a new issue