diff --git a/static/app.js b/static/app.js index bc4a018..0b11a38 100644 --- a/static/app.js +++ b/static/app.js @@ -7,7 +7,7 @@ const btn = document.getElementById("myBtn"); // Get the element that closes the modal 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 pendingLink = document.querySelector("#pending-link")