mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 23:07:17 +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