Require user interaction for browser notifications

This commit is contained in:
Hadi Nategh 2020-04-07 18:13:38 +02:00
parent 2f7e082d66
commit b74495de20

View File

@ -683,6 +683,7 @@
tag: data.app+":"+_rawData[i]['id'],
body: data.message,
icon: data.icon,
requireInteraction: true,
onclose:function(e){
// notification id
var id = this.tag.split(":");