js cookie expires
This commit is contained in:
parent
cfe0547755
commit
f993b3c19d
@ -14,7 +14,7 @@ $(function() {
|
||||
function select_blocked_tags() {
|
||||
var blocked_tags = prompt("Enter tags to ignore", $.cookie("blocked-tags") || "My_Little_Pony");
|
||||
if(blocked_tags) {
|
||||
$.cookie("blocked-tags", blocked_tags.toLowerCase(), {path: '/'});
|
||||
$.cookie("blocked-tags", blocked_tags.toLowerCase(), {path: '/', expires: 365});
|
||||
location.reload(true);
|
||||
}
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ $(document).ready(function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
$.cookie("sidebar-hidden", sidebar_hidden.join("|"), {path: '/'});
|
||||
$.cookie("sidebar-hidden", sidebar_hidden.join("|"), {path: '/', expires: 365});
|
||||
})
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user