From 13456c0854659ae3120fc36811af0a492393a9cc Mon Sep 17 00:00:00 2001 From: vorotamoroz Date: Sun, 2 Oct 2022 01:44:39 +0900 Subject: [PATCH] Fixed: deleted debug message --- src/ObsidianLiveSyncSettingTab.ts | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/ObsidianLiveSyncSettingTab.ts b/src/ObsidianLiveSyncSettingTab.ts index 99c1a7f..28ceeda 100644 --- a/src/ObsidianLiveSyncSettingTab.ts +++ b/src/ObsidianLiveSyncSettingTab.ts @@ -67,9 +67,7 @@ export class ObsidianLiveSyncSettingTab extends PluginSettingTab { element.removeClass("selected"); (element.querySelector("input[type=radio]") as HTMLInputElement).checked = false; }); - console.log(`.sls-setting-label.c-${screen}`) w.querySelectorAll(`.sls-setting-label.c-${screen}`).forEach((element) => { - console.log(element) element.addClass("selected"); (element.querySelector("input[type=radio]") as HTMLInputElement).checked = true; }); @@ -381,15 +379,15 @@ export class ObsidianLiveSyncSettingTab extends PluginSettingTab { }) ) .addButton((button) => - button - .setButtonText("Apply w/o rebuilding") - .setWarning() - .setDisabled(false) - .setClass("sls-btn-right") - .onClick(async () => { - await applyEncryption(false); - }) - ); + button + .setButtonText("Apply w/o rebuilding") + .setWarning() + .setDisabled(false) + .setClass("sls-btn-right") + .onClick(async () => { + await applyEncryption(false); + }) + ); const rebuildDB = async (method: "localOnly" | "remoteOnly" | "rebuildBothByThisDevice") => {