From b3cf435e8d494dab1cde2c64db4b295e51c33007 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Sun, 14 Apr 2019 10:39:47 -0700 Subject: [PATCH] Update main.js --- data/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/main.js b/data/main.js index 68d9a2a0..f22f40be 100644 --- a/data/main.js +++ b/data/main.js @@ -949,7 +949,7 @@ if (isSafari == true) { } function setCookie(cookieName, cookieValue) { var tempDate = new Date(); - tempDate.setTime(tempDate.getTime() + (12 * 31 * 24 * 60 * 60 * 1000)); //months*days*hours*minutes*seconds*milliseconds + tempDate.setTime(tempDate.getTime() + (5 * 365 * 24 * 60 * 60 * 1000)); //years*days*hours*minutes*seconds*milliseconds var expires = "expires=" + tempDate.toUTCString(); document.cookie = cookieName + "=" + cookieValue + ";" + expires + ";path=/"; }