fix themes application, refactor user settings

This commit is contained in:
RossAscends
2023-09-22 22:16:24 +09:00
parent b1ab1451ec
commit 54c37e945b
5 changed files with 364 additions and 318 deletions

View File

@ -6,7 +6,7 @@ async function addSettingsSearchHTML() {
const html = `
<div class="wide100p">
<div class="justifyLeft">
<textarea id="settingsSearch" class="wide100p textarea_compact margin-bot-10px" rows="1" placeholder="Search Settings"></textarea>
<textarea id="settingsSearch" class="wide100p textarea_compact" rows="1" placeholder="Search Settings"></textarea>
</div>
</div>`
@ -45,7 +45,7 @@ function removeHighlighting() {
$(".highlighted").removeClass("highlighted"); // Remove CSS class from previously highlighted elements
}
jQuery(() => {
addSettingsSearchHTML();
//addSettingsSearchHTML();
$('#settingsSearch').on('input change', searchSettings);
});