trivial: fix comment about agent portal cookie duration
This commit is contained in:
parent
b7ac62ee28
commit
2299a3376c
|
@ -158,7 +158,7 @@ $(function() {
|
|||
* name. Live with it. */
|
||||
var cookie_domain = window.location.hostname.split('.').slice(1).join('.');
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (10 * 86400 * 1000)); /* a week */
|
||||
date.setTime(date.getTime() + (10 * 86400 * 1000)); /* a long week */
|
||||
document.cookie = 'publik_portal_agent_url=' +
|
||||
encodeURIComponent(PUBLIK_PORTAL_AGENT_URL) +
|
||||
'; expires=' + date.toGMTString() +
|
||||
|
|
Loading…
Reference in New Issue