displaysettings,inputsettings: Rename two classes for consistency
I suspect these may have been accidentally mixed up or miscompleted from a nearly data-attribute or interface message, since all other classes start with `.uls-` in this repository. * "uls-input-settings-imes" is not used referenced anywhere else. * "uls-sub-panel" is referenced in one skinStyles override, updated with https://github.com/StarCitizenTools/mediawiki-skins-Citizen/pull/434. Change-Id: Ia0b23d795f7807ef9227f66d0890a25524cd5a9f
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.ext-uls-sub-panel {
|
||||
.uls-sub-panel {
|
||||
border-top: 1px solid #eaecf0;
|
||||
padding-top: 25px;
|
||||
top: -20px;
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.ext-uls-input-settings-imes-title:empty {
|
||||
.uls-input-settings-imes-title:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
'</div>' +
|
||||
|
||||
// Begin display language sub-panel
|
||||
'<div class="ext-uls-sub-panel uls-display-settings-language-tab">' +
|
||||
'<div class="uls-sub-panel uls-display-settings-language-tab">' +
|
||||
|
||||
// "Display language", title above the buttons row
|
||||
'<div class="row">' +
|
||||
@@ -54,7 +54,7 @@
|
||||
'</div>' +
|
||||
|
||||
// Begin font settings section, hidden by default
|
||||
'<div class="ext-uls-sub-panel uls-display-settings-fonts-tab hide">' +
|
||||
'<div class="uls-sub-panel uls-display-settings-fonts-tab hide">' +
|
||||
|
||||
// "Font settings" title
|
||||
'<div class="row">' +
|
||||
@@ -593,7 +593,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
displaySettings.$template.find( '.ext-uls-sub-panel' ).each( function () {
|
||||
displaySettings.$template.find( '.uls-sub-panel' ).each( function () {
|
||||
var $subPanel = $( this );
|
||||
|
||||
// eslint-disable-next-line no-jquery/no-class-state
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
'<div class="twelve columns">' +
|
||||
'<div class="uls-input-settings-inputmethods-list">' +
|
||||
// "Input settings for language xyz" title
|
||||
'<h4 class="ext-uls-input-settings-imes-title"></h4>' +
|
||||
'<h4 class="uls-input-settings-imes-title"></h4>' +
|
||||
'</div>' +
|
||||
'</div>' +
|
||||
'</div>' +
|
||||
@@ -118,7 +118,7 @@
|
||||
|
||||
imes = $.ime.languages[ language ];
|
||||
|
||||
$imeListTitle = this.$template.find( '.ext-uls-input-settings-imes-title' );
|
||||
$imeListTitle = this.$template.find( '.uls-input-settings-imes-title' );
|
||||
$imeListContainer = this.$template.find( '.uls-input-settings-inputmethods-list' );
|
||||
|
||||
$imeListContainer.empty();
|
||||
|
||||
Reference in New Issue
Block a user