diff --git a/invoker.js b/invoker.js index d1ca9fe..aa215f5 100644 --- a/invoker.js +++ b/invoker.js @@ -1,8 +1,7 @@ (() => { if ( typeof HTMLButtonElement === "undefined" || - typeof HTMLButtonElement.prototype !== "object" || - "commandForElement" in HTMLButtonElement.prototype + "source" in ((globalThis.CommandEvent || {}).prototype || {}) ) { return; }