diff options
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/utils/utils.jsx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 38516fae2..a381d3bcc 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -156,10 +156,6 @@ export function notifyMe(title, body, channel) { requestedNotificationPermission = true; Notification.requestPermission((permission) => { - if (Notification.permission !== permission) { - Notification.permission = permission; - } - if (permission === 'granted') { try { var notification = new Notification(title, {body, tag: body, icon: '/static/images/icon50x50.png'}); |