From: ajs124 Date: Sat, 24 May 2014 01:12:51 +0000 (+0200) Subject: change notification cookie from session to "permanent" X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=9f001aa26457d22a1a6de162cd1ea3377d1636bb;p=ympd.git change notification cookie from session to "permanent" --- 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"); } });