Merge "Make sure languages section is visible when adding ULS cog icon"
This commit is contained in:
@@ -243,7 +243,8 @@
|
|||||||
$ulsSettingsTrigger = $( '<span>' )
|
$ulsSettingsTrigger = $( '<span>' )
|
||||||
.addClass( 'uls-settings-trigger' )
|
.addClass( 'uls-settings-trigger' )
|
||||||
.attr( 'title', $.i18n( 'ext-uls-language-settings-title' ) );
|
.attr( 'title', $.i18n( 'ext-uls-language-settings-title' ) );
|
||||||
$pLang.prepend( $ulsSettingsTrigger );
|
// Append ULS cog to languages section. But make sure it is visible.
|
||||||
|
$pLang.show().prepend( $ulsSettingsTrigger );
|
||||||
|
|
||||||
// Remove the dummy link that was added to make sure that the section appears
|
// Remove the dummy link that was added to make sure that the section appears
|
||||||
$pLang.find( '.uls-p-lang-dummy' ).remove();
|
$pLang.find( '.uls-p-lang-dummy' ).remove();
|
||||||
|
|||||||
Reference in New Issue
Block a user