From 7ac9dd519e2553a4c2632ec522cda15309c27016 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 27 Dec 2025 14:26:50 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16688 --- app/src/config/bazaar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts index 82bba14e4..5734ed897 100644 --- a/app/src/config/bazaar.ts +++ b/app/src/config/bazaar.ts @@ -449,7 +449,7 @@ export const bazaar = { - + `; }); @@ -880,7 +880,7 @@ export const bazaar = { event.stopPropagation(); break; } else if (type === "plugin-enable") { - if (!target.getAttribute("disabled")) { + if (!target.hasAttribute("disabled")) { target.setAttribute("disabled", "disabled"); const enabled = (target as HTMLInputElement).checked; fetchPost("/api/petal/setPetalEnabled", {