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:
parent
0730673851
commit
9f001aa264
@ -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");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user