mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-26 17:07:46 +01:00
Fix settings loading
This commit is contained in:
parent
dd2d292a56
commit
22cebe3176
@ -1126,6 +1126,10 @@ function loadContextSettings() {
|
|||||||
contextControls.forEach(control => {
|
contextControls.forEach(control => {
|
||||||
const $element = $(`#${control.id}`);
|
const $element = $(`#${control.id}`);
|
||||||
|
|
||||||
|
if (control.isGlobalSetting) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (control.isCheckbox) {
|
if (control.isCheckbox) {
|
||||||
$element.prop('checked', power_user.context[control.property]);
|
$element.prop('checked', power_user.context[control.property]);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user