implemented animated buzzers

This commit is contained in:
Samuel Kent
2023-06-12 21:27:11 +10:00
parent d11c79423d
commit 992021b34a
14 changed files with 21 additions and 11 deletions
-1
View File
@@ -1,7 +1,6 @@
function userInfoToClient(userInfo) {
for (const user in userInfo) {
const userId = user.replaceAll(" ","_");
console.log($("#userListPanel").find("#"+userId));
if ($("#userListPanel").find("#"+userId).length >= 1) {
//update buzzer icon of existing user
$("#userListPanel").find("#"+userId).find("img").attr("data-buzzerId",userInfo[user].buzzerId);