From 878debc4aa902206605511f2a7cc0af50b12fd19 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 10 May 2023 21:27:16 +0200 Subject: [PATCH] Remove some debugging. --- ultimate.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ultimate.js b/ultimate.js index 330bdd6..bb2f449 100644 --- a/ultimate.js +++ b/ultimate.js @@ -4,7 +4,7 @@ let global_json; -addEventListener('hashchange', () => { console.log('heei'); process_matches(global_json); }); +addEventListener('hashchange', () => { process_matches(global_json); }); fetch('ultimate.json') .then(response => response.json()) .then(response => { global_json = response; process_matches(global_json); }); @@ -318,7 +318,6 @@ function make_table_general(players) { add_cell(row, 'td', p.points_played); add_cell(row, 'td', Math.floor(p.playing_time_ms / 60000) + ' min'); rows.push(row); - console.log(p.name + " played " + p.points_played + " points (" + Math.floor(p.playing_time_ms / 60000) + " min), " + p.goals + " goals, " + p.assists + " assists, plus/minus: " + pm); } return rows; } -- 2.39.2