mirror of https://github.com/SuperBFG7/ympd
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