fix context settings inputs not showing newlines on initial load

This commit is contained in:
RossAscends
2024-09-01 22:34:56 +09:00
parent 24c140736d
commit 361ab2bc23

View File

@ -1761,7 +1761,7 @@ async function loadContextSettings() {
if (control.isCheckbox) { if (control.isCheckbox) {
$element.prop('checked', power_user.context[control.property]); $element.prop('checked', power_user.context[control.property]);
} else { } 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]}`); console.log(`Setting ${$element.prop('id')} to ${power_user.context[control.property]}`);