From 3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d Mon Sep 17 00:00:00 2001 From: Guillaume AMAT Date: Thu, 25 Feb 2016 08:26:14 +0100 Subject: Fixes the notification display in Firefox (refs #1806) --- web/react/utils/utils.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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) { -- cgit v1.2.3-1-g7c22