Skip to content

Commit

Permalink
fix: submit table goes away when you change solve now
Browse files Browse the repository at this point in the history
  • Loading branch information
Majestic9169 committed May 28, 2024
1 parent 35cf913 commit 90b5ad1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solve.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ document.getElementById("buttons").innerHTML = buttons;
//looping event listener for all buttons
for (let i = 0; i < numberOfSolves; i++) {
document.getElementById(`solve${i + 1}btn`).addEventListener("click", function () {
table.innerHTML = "";
timeElement.value = parseFloat(reconstruction.solves[i][0]);
scram = reconstruction.solves[i][1];
currentSolveNumber = i + 1;
Expand Down

0 comments on commit 90b5ad1

Please sign in to comment.