From 6a5894441d8e7fbfa2e498dfe224f3aa9f6f84bf Mon Sep 17 00:00:00 2001 From: Ankita Saha <76600603+ankita320@users.noreply.github.com> Date: Sat, 27 Dec 2025 20:50:52 -0500 Subject: [PATCH] Fix success callback to display scoreboard --- static/scoreboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/scoreboard.js b/static/scoreboard.js index 34ce2009..f48d7c1c 100644 --- a/static/scoreboard.js +++ b/static/scoreboard.js @@ -32,7 +32,7 @@ function increase_score(id){ contentType: "application/json; charset=utf-8", data : JSON.stringify(team_id), success: function(result){ - + display_scoreboard(result.scoreboard); }, error: function(request, status, error){ console.log("Error");