mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-29 13:17:35 +00:00
Fix the share/download patch
Turns out the "active" class is added in each pane's definition. TODO: Fix that. Jenkins, you durnk Change-Id: I6da961618b360d96a03948d4f6688cd4e1931b66 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/679
This commit is contained in:
parent
e31ab5bd08
commit
c34e80a1b1
|
@ -33,7 +33,7 @@
|
||||||
/** @property {mw.mmv.ui.reuse.Utils} utils - */
|
/** @property {mw.mmv.ui.reuse.Utils} utils - */
|
||||||
this.utils = new mw.mmv.ui.reuse.Utils();
|
this.utils = new mw.mmv.ui.reuse.Utils();
|
||||||
|
|
||||||
this.$pane.addClass( 'mw-mlb-download-pane' );
|
this.$pane.addClass( 'mw-mlb-download-pane active' );
|
||||||
this.$pane.appendTo( this.$container );
|
this.$pane.appendTo( this.$container );
|
||||||
|
|
||||||
this.createDownloadButton( this.$pane );
|
this.createDownloadButton( this.$pane );
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
SP = Share.prototype;
|
SP = Share.prototype;
|
||||||
|
|
||||||
SP.init = function () {
|
SP.init = function () {
|
||||||
this.$pane.addClass( 'mw-mmv-share-pane active' )
|
this.$pane.addClass( 'mw-mmv-share-pane' )
|
||||||
.appendTo( this.$container );
|
.appendTo( this.$container );
|
||||||
|
|
||||||
this.pageInput = new oo.ui.TextInputWidget( {
|
this.pageInput = new oo.ui.TextInputWidget( {
|
||||||
|
|
Loading…
Reference in a new issue