From c14fa1597dea93d06cbbb189cb4090cf5f8efc5d Mon Sep 17 00:00:00 2001 From: Stephanie Gredell Date: Mon, 11 Aug 2025 11:17:59 -0700 Subject: [PATCH] fix case error in leaveGame --- static/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/script.js b/static/script.js index d24caac..08b5b4b 100644 --- a/static/script.js +++ b/static/script.js @@ -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(); }