diff --git a/better.js b/better.js index 657a0e4..21dfbb0 100644 --- a/better.js +++ b/better.js @@ -51,7 +51,7 @@ export class Better extends HTMLElement { // Resolves all `connected promises connectedCallback() { - if ("onConnec" in this) this.onConnect() + if ("onConnect" in this) this.onConnect() this.#connected.forEach( e => e.yes(this) ) this.#connected = [] }