From 2cf91928b540e91d4de00b98a978d9bb1ebfeb12 Mon Sep 17 00:00:00 2001 From: FallBackITA27 Date: Sat, 13 Apr 2024 00:58:20 +0200 Subject: [PATCH] debug --- mkwpp-ctgp-doublecheck/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkwpp-ctgp-doublecheck/script.js b/mkwpp-ctgp-doublecheck/script.js index e4d527b..0d75c4c 100644 --- a/mkwpp-ctgp-doublecheck/script.js +++ b/mkwpp-ctgp-doublecheck/script.js @@ -168,9 +168,9 @@ document.getElementById("startChecker").addEventListener("click", async function unrestricted: unrestrictedTimes, normal: parseMKWPPTable(profileDocument.getElementsByClassName("k")[0]) } - for (let trackUnr in data.unrestricted["3lap"]){ + for (let trackUnr in data.unrestricted["flap"]){ console.log(trackUnr); - console.log(data.unrestricted["3lap"][trackUnr]); + console.log(data.unrestricted["flap"][trackUnr]); } for (let trackUnr in data.unrestricted["3lap"]) for (let trackNor in data.normal["3lap"]) if (data.unrestricted["3lap"][trackUnr].time === data.normal["3lap"][trackNor].time) delete data.unrestricted["3lap"][trackUnr]; for (let trackUnr in data.unrestricted.flap) for (let trackNor in data.normal.flap) if (data.unrestricted.flap[trackUnr].time === data.normal.flap[trackNor].time) delete data.unrestricted.flap[trackUnr];