summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorGuillaume AMAT <guillaume@amat.io>2016-02-25 08:26:14 +0100
committerGuillaume AMAT <guillaume@amat.io>2016-02-25 08:26:14 +0100
commit3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d (patch)
tree43e216854ff163a502dc009c95c016f8d286ad43 /web/react/utils
parent6f319fc64c9a947d8f076262aaab51354cb39ecd (diff)
downloadchat-3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d.tar.gz
chat-3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d.tar.bz2
chat-3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d.zip
Fixes the notification display in Firefox (refs #1806)
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/utils.jsx2
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) {