From fbbb61a0ca6be2d9c460797f608ae6a319e04d06 Mon Sep 17 00:00:00 2001 From: Shyam Mehta Date: Sun, 5 Apr 2020 17:59:19 -0400 Subject: [PATCH] Update Commit --- static/chat.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/chat.js b/static/chat.js index f219d73..2bb0666 100644 --- a/static/chat.js +++ b/static/chat.js @@ -58,6 +58,10 @@ $(function() { $(".table").children().unbind('click'); if(data.success){ $('#status').attr('hidden', true) + $("#points_table tbody tr td").filter(function () { + var text = $(this).html(); + return (text == data.player || text == data.player + " (*)"); + }).html(data.next+""); $("#points_table tbody tr td").filter(function () { var text = $(this).html(); return (text == data.next || text == data.next + " (*)");