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", {