1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

instances_filter cookie expires after 1 day

This commit is contained in:
Jan Krcmar 2016-05-06 14:40:24 +02:00
parent 9327cf36c4
commit 572f7b12cd

View file

@ -245,7 +245,7 @@
$('.searchable tr').filter(function () {
return rex.test($(this).text());
}).show();
Cookies.set("instances_filter", $(this).val());
Cookies.set("instances_filter", $(this).val(), { expires: 1 });
}
$(document).ready(function () {
instances_filter_cookie = Cookies.get("instances_filter");