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:
Timo Tijhof
2022-03-05 16:17:49 +00:00
committed by jenkins-bot
parent ced02578ec
commit af60848942
4 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
z-index: 1;
}
.ext-uls-sub-panel {
.uls-sub-panel {
border-top: 1px solid #eaecf0;
padding-top: 25px;
top: -20px;

View File

@@ -50,7 +50,7 @@
color: #000;
}
.ext-uls-input-settings-imes-title:empty {
.uls-input-settings-imes-title:empty {
display: none;
}

View File

@@ -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

View File

@@ -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();