1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-30 08:29:53 +00:00

change notification cookie from session to "permanent"

This commit is contained in:
ajs124 2014-05-24 03:12:51 +02:00
parent 0730673851
commit 9f001aa264

View File

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