From 14edf9c8745fff931f547e7eff15cc31b3d28ffc Mon Sep 17 00:00:00 2001 From: Stephanie Gredell Date: Mon, 11 Aug 2025 11:24:12 -0700 Subject: [PATCH] bind leavegame to this --- static/script.js | 1 + 1 file changed, 1 insertion(+) 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); }