Skip to content

Commit 1f87ec9

Browse files
authored
Update index.html
1 parent e479b58 commit 1f87ec9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ <h2>Results</h2>
455455
init(); // set up the problems and draw circles
456456

457457
if (!isRestart) {
458-
const hidePopup = localStorage.getItem("hideLicensePopup");
458+
const hidePopup = localStorage.getItem("hidePopup");
459459

460460
if (hidePopup) {
461461
startTimer(); // start immediately if popup gone
@@ -466,7 +466,7 @@ <h2>Results</h2>
466466
// define the click handler first
467467
closeBtn.onclick = () => {
468468
if (document.getElementById("dontShowAgain").checked) {
469-
localStorage.setItem("hideLicensePopup", "true");
469+
localStorage.setItem("hidePopup", "true");
470470
}
471471
licenseOverlay.style.display = "none";
472472
startTimer();

0 commit comments

Comments
 (0)