From b74495de20a8b9b59e5ea32e85aaa16444777861 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 7 Apr 2020 18:13:38 +0200 Subject: [PATCH] Require user interaction for browser notifications --- notifications/js/notificationajaxpopup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/notifications/js/notificationajaxpopup.js b/notifications/js/notificationajaxpopup.js index c604c10133..7d81604746 100644 --- a/notifications/js/notificationajaxpopup.js +++ b/notifications/js/notificationajaxpopup.js @@ -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(":");