Await settings load

94ef9e8908c61d14bbda3c2887ed19baf004d662

Cohee <18619528+Cohee1207@users.noreply.github.com>

4 files changed, +5 -5Ignore whitespace
public/css/mobile-styles.css+1 -1
@@ -502,4 +502,4 @@
502502 #horde_model {
503503 height: unset;
504504 }
505-}
505 \ No newline at end of file
505+}
public/css/st-tailwind.css+1 -1
@@ -608,4 +608,4 @@ ul.li-padding-bot5 li {
608608
609609ul.li-padding-bot10 li {
610610 padding-bottom: 10px;
611-}
611 \ No newline at end of file
611+}
public/scripts/power-user.js+2 -2
@@ -1613,7 +1613,7 @@ async function loadPowerUserSettings(settings, data) {
16131613 switchReducedMotion();
16141614 switchCompactInputArea();
16151615 reloadMarkdownProcessor(power_user.render_formulas);
16161616 await loadInstructMode(data);
16171617 await loadContextSettings();
16181618 loadMaxContextUnlocked();
16191619 switchWaifuMode();
@@ -1767,7 +1767,7 @@ async function loadContextSettings() {
17671767
17681768 // If the setting already exists, no need to duplicate it
17691769 // TODO: Maybe check the power_user object for the setting instead of a flag?
17701770 $element.on('input keyUpkeyup', async function () {
17711771 const value = control.isCheckbox ? !!$(this).prop('checked') : $(this)[0].innerText;
17721772 if (control.isGlobalSetting) {
17731773 power_user[control.property] = value;
public/style.css+1 -1
@@ -5456,4 +5456,4 @@ body:not(.movingUI) .drawer-content.maximized {
54565456
54575457#advanced-formatting-button div[contenteditable="true"] {
54585458 overflow-wrap: anywhere;
5459-}
5459 \ No newline at end of file
5459+}