only checking funbox if funbox is not none

This commit is contained in:
Miodec 2022-01-01 22:18:19 +01:00
parent bf0e9c27cb
commit 6e62eb5bcd

View file

@ -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(