Browse Source

fix case error in leaveGame

main
Stephanie Gredell 5 months ago
parent
commit
c14fa1597d
  1. 3
      static/script.js

3
static/script.js

@ -481,7 +481,8 @@ window.addEventListener("DOMContentLoaded", function() { @@ -481,7 +481,8 @@ window.addEventListener("DOMContentLoaded", function() {
this.ws.send(JSON.stringify(obj));
}
}
_leavegame() {
_leaveGame() {
console.log('leave button was clicked');
this.ws.close();
}

Loading…
Cancel
Save