mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Fixed MeshMessenger notification title.
This commit is contained in:
@@ -216,11 +216,7 @@
|
||||
if (Notification) { QV('notifyButton', Notification.permission != 'granted'); }
|
||||
if (Notification && (windowFocus == false) && (Notification.permission == 'granted')) {
|
||||
if (notification != null) { notification.close(); notification = null; }
|
||||
if (args.title) {
|
||||
notification = new Notification("MeshMessenger" + ' - ' + args.title, { body: msg });
|
||||
} else {
|
||||
notification = new Notification("MeshMessenger", { body: msg });
|
||||
}
|
||||
notification = new Notification(Q('xtitle').innerHTML.split(' ').join(' '), { body: msg });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user