diff --git a/www/common/notify.js b/www/common/notify.js index 5109e8748..dc5c19ad5 100644 --- a/www/common/notify.js +++ b/www/common/notify.js @@ -6,7 +6,7 @@ define(['/api/config'], function (ApiConfig) { var isSupported = Module.isSupported = function () { - return typeof(window.Notification) === 'function'; + return typeof(window.Notification) === 'function' && window.location.protocol === 'https:'; }; var hasPermission = Module.hasPermission = function () {