Fix typo in onConnect method name
This commit is contained in:
parent
7a299cf07c
commit
d620c8528a
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue