Can't update a constant

This commit is contained in:
2021-01-07 12:37:56 -05:00
parent aeb8b4fb52
commit 33a3270a49

View File

@ -7,7 +7,7 @@ const btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal // Get the <span> element that closes the modal
const span = document.getElementsByClassName("close")[0]; const span = document.getElementsByClassName("close")[0];
const mode = new URLSearchParams(window.location.search).get("mode"); var mode = new URLSearchParams(window.location.search).get("mode");
const archiveLink = document.querySelector("#archive-link") const archiveLink = document.querySelector("#archive-link")
const pendingLink = document.querySelector("#pending-link") const pendingLink = document.querySelector("#pending-link")