Compact Links: Redesign the more languages button
Change-Id: Ie4d1cb5bf89ac47bac141b0f5a83452cfa9a0783
This commit is contained in:
committed by
Santhosh Thottingal
parent
0092b712bd
commit
bdb7b9c3d3
@@ -287,20 +287,16 @@
|
||||
* Add the trigger at the bottom of the language list
|
||||
*/
|
||||
addTrigger: function () {
|
||||
var $trigger, $triggerLabel;
|
||||
var $trigger;
|
||||
|
||||
$trigger = $( '<button>' )
|
||||
.addClass( 'mw-interlanguage-selector mw-ui-button active' )
|
||||
.html( '…' ); // '…'
|
||||
|
||||
$triggerLabel = $( '<label>' )
|
||||
.attr( 'id', 'more-lang-label' )
|
||||
.text( $.i18n(
|
||||
.html( $.i18n(
|
||||
'ext-uls-compact-link-count',
|
||||
mw.language.convertNumber( this.listSize - this.compactSize )
|
||||
) );
|
||||
|
||||
this.$interlanguageList.append( $trigger, $triggerLabel );
|
||||
this.$interlanguageList.append( $trigger );
|
||||
this.$trigger = $trigger;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user