From 6e62eb5bcdad068a6e69496c19e08b7123b041f4 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 1 Jan 2022 22:18:19 +0100 Subject: [PATCH] only checking funbox if funbox is not none --- src/js/test/funbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/test/funbox.js b/src/js/test/funbox.js index 87be78447..8289d068a 100644 --- a/src/js/test/funbox.js +++ b/src/js/test/funbox.js @@ -110,7 +110,7 @@ export async function activate(funbox) { return; } } - if (Config.mode === "zen" || Config.mode == "quote") { + if (funbox !== "none" && (Config.mode === "zen" || Config.mode == "quote")) { if (funboxInfo?.type != "style") { Notifications.add( `${Misc.capitalizeFirstLetter(