From 4e4c2976b5dbc6290d7859ab888519bce679adf9 Mon Sep 17 00:00:00 2001 From: Tron Date: Sun, 1 Dec 2024 23:08:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20css=E6=94=AF=E6=8C=81=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 1501d20..87105ae 100644 --- a/src/index.ts +++ b/src/index.ts @@ -578,11 +578,8 @@ export default class PluginFootnote extends Plugin { description: this.i18n.settings.css.description, action: { callback: () => { - console.log("CSS updated"); const newCSS = this.settingUtils.take('css'); - if (newCSS) { - this.updateCSS(newCSS); - } + this.updateCSS(newCSS); } } });