Commit 5a00edda authored by Savorboard's avatar Savorboard

remove cookie exp

parent 152ee4a6
......@@ -608,8 +608,5 @@ $(function () {
function nodeSwitch(id) {
console.log("id:" + id);
var Days = 10;
var exp = new Date();
exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
document.cookie = "cap.node=" + escape(id) + ";expires=" + exp.toGMTString();
document.cookie = "cap.node=" + escape(id) + ";";
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment