From 3edb84c3338f7433238a17054000e422ab2571e3 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Thu, 22 Feb 2024 01:16:31 -0500 Subject: [PATCH] fix: change scale to 650 instead of 600 --- app/static/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/script.js b/app/static/script.js index 3dd19c1..1811f48 100644 --- a/app/static/script.js +++ b/app/static/script.js @@ -95,10 +95,10 @@ function updateGauge() { var score = parseInt(gauge.getAttribute('data-score')); // Clamp the score value between 0 and 700 - score = Math.min(600, Math.max(0, score)); + score = Math.min(650, Math.max(0, score)); // Calculate the gauge width as a percentage - var gaugeWidth = (score / 600) * 100; + var gaugeWidth = (score / 650) * 100; // Set the width of the gauge gauge.style.width = gaugeWidth + '%';