|
|
|
@ -3,7 +3,7 @@ class Setup {
|
|
|
|
this.statusEl = document.createElement("p")
|
|
|
|
this.statusEl = document.createElement("p")
|
|
|
|
document.body.appendChild(this.statusEl)
|
|
|
|
document.body.appendChild(this.statusEl)
|
|
|
|
this.updateStatus()
|
|
|
|
this.updateStatus()
|
|
|
|
this.addEventListener('controllerchange', () => {
|
|
|
|
addEventListener('controllerchange', () => {
|
|
|
|
this.updateStatus()
|
|
|
|
this.updateStatus()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
await this.register()
|
|
|
|
await this.register()
|
|
|
|
|