From 1d18b7b7f01b93dd578ff1127bf0929fa72c7daf Mon Sep 17 00:00:00 2001 From: Jonas_Jones <91549607+J-onasJones@users.noreply.github.com> Date: Mon, 8 Nov 2021 01:45:09 +0100 Subject: [PATCH] Update index.html --- index.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 849fe52..50c5042 100644 --- a/index.html +++ b/index.html @@ -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);