From 0638953a201ca54e674a7fbe1cc6402137a22988 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 7 Dec 2024 20:34:01 +0200 Subject: [PATCH] Clean-up debug logs --- public/scripts/filters.js | 1 - public/scripts/power-user.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/public/scripts/filters.js b/public/scripts/filters.js index f07b4e33f..eb5329d8a 100644 --- a/public/scripts/filters.js +++ b/public/scripts/filters.js @@ -448,6 +448,5 @@ export class FilterHelper { for (const cache of Object.values(this.fuzzySearchCaches)) { cache.resultMap.clear(); } - console.log('All fuzzy search caches cleared'); } } diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index 4c17b10de..7ebf2ffce 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -1756,7 +1756,7 @@ async function loadContextSettings() { } else { $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 // TODO: Maybe check the power_user object for the setting instead of a flag? @@ -1767,7 +1767,7 @@ async function loadContextSettings() { } else { 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')) { await resetScrollHeight($(this)); }