From 05bc65337f22035394da505d1c86b844ef072027 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Wed, 24 Dec 2025 11:16:03 +0000 Subject: [PATCH] Fix a bug in the mobile view where the second line doesn't get painted green for SSE new spots. Closes #87 --- webassets/js/spots.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webassets/js/spots.js b/webassets/js/spots.js index f923260..94685f5 100644 --- a/webassets/js/spots.js +++ b/webassets/js/spots.js @@ -192,7 +192,7 @@ function createNewTableRowsForSpot(s, highlightNew) { // Show faded out if QRT if (s["qrt"] == true) { - $tr.addClass("table-faded"); + $tr.addClass("table-faded"); } // If we are asked to highlight new rows (i.e. this row is being added "live" via the SSE client and not as a bulk @@ -350,10 +350,10 @@ function createNewTableRowsForSpot(s, highlightNew) { $tr2.addClass("table-active"); } if (s["qrt"] == true) { - $tr2.addClass("table-faded"); + $tr2.addClass("table-faded"); } if (highlightNew) { - $tr.addClass("new"); + $tr2.addClass("new"); } $td2 = $("");