diff options
author | Guillaume AMAT <guillaume@amat.io> | 2016-02-25 08:26:14 +0100 |
---|---|---|
committer | Guillaume AMAT <guillaume@amat.io> | 2016-02-25 08:26:14 +0100 |
commit | 3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d (patch) | |
tree | 43e216854ff163a502dc009c95c016f8d286ad43 | |
parent | 6f319fc64c9a947d8f076262aaab51354cb39ecd (diff) | |
download | chat-3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d.tar.gz chat-3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d.tar.bz2 chat-3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d.zip |
Fixes the notification display in Firefox (refs #1806)
-rw-r--r-- | web/react/utils/utils.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 41d93174e..77eab7395 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -162,7 +162,7 @@ export function notifyMe(title, body, channel) { if (permission === 'granted') { try { - var notification = new Notification(title, {body, tag: body, icon: '/static/images/icon50x50.png'}); + var notification = new Notification(title, {body: body, tag: body, icon: '/static/images/icon50x50.png'}); notification.onclick = () => { window.focus(); if (channel) { |