summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-01 09:30:29 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-01 09:30:29 -0500
commit4b28d785528a4e7acd1e55b93c614a0eb3cb0724 (patch)
tree18100f2d8812fd519c6c769e8099c5c9718593af /web
parentf9e7e82e6f4e1a0c99b3b6224a8f5f56a3197b5f (diff)
parent3b8f5bb41d5afc9d5d0eb749cddc5bf957980d3d (diff)
downloadchat-4b28d785528a4e7acd1e55b93c614a0eb3cb0724.tar.gz
chat-4b28d785528a4e7acd1e55b93c614a0eb3cb0724.tar.bz2
chat-4b28d785528a4e7acd1e55b93c614a0eb3cb0724.zip
Merge pull request #2249 from GuillaumeAmat/GIT-1806-2
Fixes the notification display in Firefox (refs #1806)
Diffstat (limited to 'web')
-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 02590bd93..3e531c821 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -158,7 +158,7 @@ export function notifyMe(title, body, channel) {
Notification.requestPermission((permission) => {
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) {