From 75c3283c07e9bd432f669b64313cd60d8fb940d3 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 17 Dec 2014 15:12:47 +0100 Subject: [PATCH] mozNotification exist(ed) on navigator, not window --- client/src/applets/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/applets/settings.js b/client/src/applets/settings.js index 639e1a1..f60b47b 100644 --- a/client/src/applets/settings.js +++ b/client/src/applets/settings.js @@ -40,7 +40,7 @@ this.$('.protocol_handler').remove(); } - if (!(window.Notification || window.webkitNotifications || window.mozNotification)) { + if (!(window.Notification || window.webkitNotifications || navigator.mozNotification)) { this.$('notification_enabler').remove(); } -- 2.25.1