From 361ab2bc23abaf30a3db623631ca5c717401b124 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Sun, 1 Sep 2024 22:34:56 +0900 Subject: [PATCH] fix context settings inputs not showing newlines on initial load --- public/scripts/power-user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 2fdb27958..476d9f0aa 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -1761,7 +1761,7 @@ async function loadContextSettings() { if (control.isCheckbox) { $element.prop('checked', power_user.context[control.property]); } else { - $element.text(power_user.context[control.property]); + $element[0].innerText = power_user.context[control.property]; } console.log(`Setting ${$element.prop('id')} to ${power_user.context[control.property]}`);