From 9f001aa26457d22a1a6de162cd1ea3377d1636bb Mon Sep 17 00:00:00 2001 From: ajs124 Date: Sat, 24 May 2014 03:12:51 +0200 Subject: [PATCH] change notification cookie from session to "permanent" --- htdocs/js/mpd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index a0a0cd0..b6db9af 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -502,7 +502,7 @@ $('#btnnotify').on('click', function (e) { } if (permission === "granted") { - $.cookie("notification", true); + $.cookie("notification", true, { expires: 424242 }); $('btnnotify').addClass("active"); } }); -- 2.20.1