From 1130566bb4b81eef7408f6c74e5114ea1437f2c9 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sat, 2 May 2020 09:39:33 -0400 Subject: [PATCH] debug.html: Fix pass vote button Gotta love JavaScript. Looks like the pass = getElementById('password') Line in join_game was replacing the pass() function (scoping? where are you?). Thanks ~ckarle for the bug report :) --- public/debug.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/debug.html b/public/debug.html index dbc4ae1..eb7b91c 100644 --- a/public/debug.html +++ b/public/debug.html @@ -88,7 +88,7 @@ console.log(order_suit); ws.send(JSON.stringify({action:'order', vote: order_suit, loner: a})) } - function pass() { + function pass_kitty() { ws.send(JSON.stringify({action:'order', vote: 'pass'})) } function play(card) { @@ -145,7 +145,7 @@ - +



-- libgit2 1.1.1