change notification cookie from session to "permanent"
authorajs124 <ajs@online.de>
Sat, 24 May 2014 01:12:51 +0000 (03:12 +0200)
committerajs124 <ajs@online.de>
Sat, 24 May 2014 01:12:51 +0000 (03:12 +0200)
htdocs/js/mpd.js

index a0a0cd0..b6db9af 100644 (file)
@@ -502,7 +502,7 @@ $('#btnnotify').on('click', function (e) {
             }
 
             if (permission === "granted") {
-                $.cookie("notification", true);
+                $.cookie("notification", true, { expires: 424242 });
                 $('btnnotify').addClass("active");
             }
         });