From 4ca9a77d25cbc6772c77e204f3de7191889a216b Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sun, 14 Dec 2025 12:06:15 +0100 Subject: [PATCH] i hate javascript --- modules/web.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/web.html b/modules/web.html index 5dfba17..17b920e 100644 --- a/modules/web.html +++ b/modules/web.html @@ -285,9 +285,8 @@ li.classList.add("current"); currentIndex = i; } - if(currentIndex+1 === i && skipNext && putQueue.length === 0) { + if(currentIndex && (currentIndex+1 === i) && skipNext && (putQueue.length === 0)) { li.style.textDecoration = "line-through"; - console.log(i, currentIndex, li.textContent) } ul.appendChild(li); });