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); });