From 75e82eb1b115c0215c7d6a7ecf61c4d8f6656578 Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Thu, 25 Feb 2016 10:27:26 -0500
Subject: Stopped setting Notification.permission

---
 web/react/utils/utils.jsx | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'web/react/utils/utils.jsx')

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'});
-- 
cgit v1.2.3-1-g7c22

