File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments