Can't update a constant
This commit is contained in:
@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user