mirror of
https://github.com/JonasunderscoreJones/Website-v1.git
synced 2025-10-25 19:49:19 +02:00
Update index.html
This commit is contained in:
parent
824a34b970
commit
1d18b7b7f0
1 changed files with 2 additions and 4 deletions
|
|
@ -334,12 +334,10 @@ function getCookie(cname) {
|
|||
}
|
||||
|
||||
function checkCookie() {
|
||||
let user = getCookie("username");
|
||||
let user = getCookie("firstvis");
|
||||
if (user != "") {
|
||||
alert("bruh");
|
||||
alert("Welcome again " + user);
|
||||
} else {
|
||||
user = prompt("Please enter your name:","");
|
||||
user = 0
|
||||
modal.style.display = "block";
|
||||
if (user != "" && user != null) {
|
||||
setCookie("username", user, 30);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue