mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Clean-up debug logs
This commit is contained in:
@ -448,6 +448,5 @@ export class FilterHelper {
|
|||||||
for (const cache of Object.values(this.fuzzySearchCaches)) {
|
for (const cache of Object.values(this.fuzzySearchCaches)) {
|
||||||
cache.resultMap.clear();
|
cache.resultMap.clear();
|
||||||
}
|
}
|
||||||
console.log('All fuzzy search caches cleared');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1756,7 +1756,7 @@ async function loadContextSettings() {
|
|||||||
} else {
|
} else {
|
||||||
$element.val(power_user.context[control.property]);
|
$element.val(power_user.context[control.property]);
|
||||||
}
|
}
|
||||||
console.log(`Setting ${$element.prop('id')} to ${power_user.context[control.property]}`);
|
console.debug(`Setting ${$element.prop('id')} to ${power_user.context[control.property]}`);
|
||||||
|
|
||||||
// If the setting already exists, no need to duplicate it
|
// If the setting already exists, no need to duplicate it
|
||||||
// TODO: Maybe check the power_user object for the setting instead of a flag?
|
// TODO: Maybe check the power_user object for the setting instead of a flag?
|
||||||
@ -1767,7 +1767,7 @@ async function loadContextSettings() {
|
|||||||
} else {
|
} else {
|
||||||
power_user.context[control.property] = value;
|
power_user.context[control.property] = value;
|
||||||
}
|
}
|
||||||
console.log(`Setting ${$element.prop('id')} to ${value}`);
|
console.debug(`Setting ${$element.prop('id')} to ${value}`);
|
||||||
if (!CSS.supports('field-sizing', 'content') && $(this).is('textarea')) {
|
if (!CSS.supports('field-sizing', 'content') && $(this).is('textarea')) {
|
||||||
await resetScrollHeight($(this));
|
await resetScrollHeight($(this));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user