diff --git a/assets/scripts/main.js b/assets/scripts/main.js index a668960..7538fe9 100644 --- a/assets/scripts/main.js +++ b/assets/scripts/main.js @@ -2,7 +2,7 @@ console.log("Entered main.js!"); document.addEventListener('DOMContentLoaded', (event) => { console.log("In event handler!"); - const secret = getURLParameter('secret'); + const secret = getUrlParameter('secret'); if (secret == "hithere") { console.log("got secret!"); document.title = `Secret: ${secret}`;