mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 00:03:56 +00:00
Fix credit fallback not updating when switching image
jQuery object gets converted to "[object Object]" which results in an ununique array key in HUP.htmlToTextWithTags cache.textWithTags, instead pass HTML string. Bug: T308958 Change-Id: If6fc934d263107a0d3346ccea8e91cade72db666
This commit is contained in:
parent
564800ac3e
commit
9d265ee1d0
|
@ -496,6 +496,7 @@
|
|||
.addClass( 'mw-mmv-credit-fallback' )
|
||||
.prop( 'href', filepageUrl )
|
||||
.text( mw.message( 'multimediaviewer-credit-fallback' ).plain() )
|
||||
.get( 0 ).outerHTML
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue