summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2016-02-25 10:27:26 -0500
committerhmhealey <harrisonmhealey@gmail.com>2016-02-25 10:27:26 -0500
commit75e82eb1b115c0215c7d6a7ecf61c4d8f6656578 (patch)
tree57ffc0fb30d04d054e731a37b8234b2707e5e41e /web
parente66520ea47819851d0d3b28a68da9c2b8f6ea404 (diff)
downloadchat-75e82eb1b115c0215c7d6a7ecf61c4d8f6656578.tar.gz
chat-75e82eb1b115c0215c7d6a7ecf61c4d8f6656578.tar.bz2
chat-75e82eb1b115c0215c7d6a7ecf61c4d8f6656578.zip
Stopped setting Notification.permission
Diffstat (limited to 'web')
-rw-r--r--web/react/utils/utils.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 41d93174e..d3a80354e 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'});