From 572f7b12cd8d9c08a2d00de3b06d9d7b926bd166 Mon Sep 17 00:00:00 2001 From: Jan Krcmar Date: Fri, 6 May 2016 14:40:24 +0200 Subject: [PATCH] instances_filter cookie expires after 1 day --- instances/templates/instances.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances/templates/instances.html b/instances/templates/instances.html index 5b6f87d..8cee448 100644 --- a/instances/templates/instances.html +++ b/instances/templates/instances.html @@ -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");