diff --git a/static/script.js b/static/script.js index 08b5b4b..36e479b 100644 --- a/static/script.js +++ b/static/script.js @@ -269,6 +269,7 @@ window.addEventListener("DOMContentLoaded", function() { this._onKeyDown = this._onKeyDown.bind(this); this._onKeyUp = this._onKeyUp.bind(this); this._onSendClick = this._onSendClick.bind(this); + this._leaveGame = this._leaveGame.bind(this); }