Add cookie support

This commit is contained in:
CCF_100 committed 2024-08-12 12:49:47 -05:00
1 parent 22a8fb2d75
commit 7d5c6d3b20
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@
function easterEgg(easterEggState) {
console.log("Easter egg state is: " + easterEggState);
// Check existing site state before updating it (prevents the site from hanging when you use the drawDesign function)
if ((/true/).test(getCookie("easterEggState") == easterEggState) {
if ((/true/).test(getCookie("easterEggState") == easterEggState)) {
console("Easter egg state already set! Ignoring request...");
return;
}