Clean-up debug logs

0638953a201ca54e674a7fbe1cc6402137a22988

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +2 -3Ignore whitespace
public/scripts/filters.js+0 -1
@@ -448,6 +448,5 @@ export class FilterHelper {
448 for (const cache of Object.values(this.fuzzySearchCaches)) {448 for (const cache of Object.values(this.fuzzySearchCaches)) {
449 cache.resultMap.clear();449 cache.resultMap.clear();
450 }450 }
451 console.log('All fuzzy search caches cleared');
452 }451 }
453}452}
public/scripts/power-user.js+2 -2
@@ -1756,7 +1756,7 @@ async function loadContextSettings() {
1756 } else {1756 } else {
1757 $element.val(power_user.context[control.property]);1757 $element.val(power_user.context[control.property]);
1758 }1758 }
1759 console.log(`Setting ${$element.prop('id')} to ${power_user.context[control.property]}`);1759 console.debug(`Setting ${$element.prop('id')} to ${power_user.context[control.property]}`);
17601760
1761 // If the setting already exists, no need to duplicate it1761 // If the setting already exists, no need to duplicate it
1762 // TODO: Maybe check the power_user object for the setting instead of a flag?1762 // TODO: Maybe check the power_user object for the setting instead of a flag?
@@ -1767,7 +1767,7 @@ async function loadContextSettings() {
1767 } else {1767 } else {
1768 power_user.context[control.property] = value;1768 power_user.context[control.property] = value;
1769 }1769 }
1770 console.log(`Setting ${$element.prop('id')} to ${value}`);1770 console.debug(`Setting ${$element.prop('id')} to ${value}`);
1771 if (!CSS.supports('field-sizing', 'content') && $(this).is('textarea')) {1771 if (!CSS.supports('field-sizing', 'content') && $(this).is('textarea')) {
1772 await resetScrollHeight($(this));1772 await resetScrollHeight($(this));
1773 }1773 }