mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-27 19:30:27 +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") {
|
||||
$.cookie("notification", true);
|
||||
$.cookie("notification", true, { expires: 424242 });
|
||||
$('btnnotify').addClass("active");
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user