mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix context settings inputs not showing newlines on initial load
This commit is contained in:
@ -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]}`);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user