Skip to content

Commit 922f757

Browse files
committed
Removed temp testing button
1 parent 479dd0d commit 922f757

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

frontend/main.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,21 +1075,6 @@ function showLevelMap() {
10751075
}
10761076

10771077
levelsContainer.appendChild(levelBtn);
1078-
1079-
// ========== TEMPORARY: Restart button for W4-L3 ==========
1080-
if (level.id === "W4-L3" && isCompleted) {
1081-
const restartBtn = document.createElement("button");
1082-
restartBtn.className = "px-2 py-1 rounded border text-xs font-semibold transition bg-yellow-400 hover:bg-yellow-300 text-slate-900 border-yellow-300 cursor-pointer";
1083-
restartBtn.textContent = "Reset";
1084-
restartBtn.addEventListener("click", (e) => {
1085-
e.stopPropagation();
1086-
completedLevels.delete("W4-L3");
1087-
saveProgress();
1088-
showLevelMap();
1089-
});
1090-
levelsContainer.appendChild(restartBtn);
1091-
}
1092-
// ========== END TEMPORARY: Restart button for W4-L3 ==========
10931078
}
10941079

10951080
worldDiv.appendChild(levelsContainer);

0 commit comments

Comments
 (0)