parent
013156fa04
commit
d0c6f8aae3
|
@ -575,7 +575,8 @@ $(function() {
|
||||||
if (settings.badge && Notification.permission == "granted") {
|
if (settings.badge && Notification.permission == "granted") {
|
||||||
var notify = new Notification(msg.from + " says:", {
|
var notify = new Notification(msg.from + " says:", {
|
||||||
body: msg.text.trim(),
|
body: msg.text.trim(),
|
||||||
icon: "/img/logo-64.png"
|
icon: "/img/logo-64.png",
|
||||||
|
tag: target
|
||||||
});
|
});
|
||||||
notify.onclick = function() {
|
notify.onclick = function() {
|
||||||
window.focus();
|
window.focus();
|
||||||
|
|
Loading…
Reference in New Issue