mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-12 09:27:36 +00:00
Fix display issues with "view terms"
Hiding the element before it is added to the document causes a wrong display type in Firefox; changing the order of commands fixes that. Bug: 61936 Change-Id: I808131da25f2f70c14747238216e8973af44d029 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/118
This commit is contained in:
parent
18a850869d
commit
77deada982
|
@ -176,8 +176,8 @@
|
|||
this.$permissionLink = $( '<span>' )
|
||||
.addClass( 'mw-mlb-permission-link mw-mlb-label' )
|
||||
.text( mw.message( 'multimediaviewer-permission-link' ).text() )
|
||||
.hide()
|
||||
.appendTo( this.$titlePara )
|
||||
.hide()
|
||||
.on( 'click', function() {
|
||||
panel.permission.grow();
|
||||
panel.scrollIntoView( panel.permission.$box, 500 );
|
||||
|
|
Loading…
Reference in a new issue