[MIRROR] Fixes goonchat cookies not saving properly. (#4528)

* Fixes goonchat cookies not saving properly.

* Merge pull request #42856 from DominikPanic/goonchatcookies

Fixes goonchat cookies not saving properly.
This commit is contained in:
yogstation13-bot
2019-02-21 17:28:53 +01:00
committed by monster860
parent efb536f016
commit 8b501882b8

View File

@@ -430,7 +430,7 @@ function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
var expires = 'expires='+d.toUTCString();
document.cookie = cname + '=' + cvalue + '; ' + expires;
document.cookie = cname + '=' + cvalue + '; ' + expires + "; path=/";
}
function getCookie(cname) {