matchmaking: fix: request deleted button #2
This commit is contained in:
parent
298e5033c0
commit
e477484d49
@ -44,7 +44,12 @@ export default class extends AbstractAuthenticatedView {
|
||||
|
||||
ondisconnect(event)
|
||||
{
|
||||
document.getElementById("button").value = "Find a game";
|
||||
let button = document.getElementById("button")
|
||||
|
||||
if (button === null)
|
||||
return
|
||||
|
||||
button.value = "Find a game";
|
||||
}
|
||||
|
||||
onreceive(data)
|
||||
|
Loading…
Reference in New Issue
Block a user