diff --git a/zephyr/static/js/notifications.js b/zephyr/static/js/notifications.js index e16b0cc1dc..5dbf1f6588 100644 --- a/zephyr/static/js/notifications.js +++ b/zephyr/static/js/notifications.js @@ -40,6 +40,12 @@ exports.initialize = function () { }); } + if (window.bridge !== undefined) { + supports_sound = true; + + return; + } + if (!window.webkitNotifications) { return; } @@ -53,10 +59,9 @@ exports.initialize = function () { asked_permission_already = true; } }); + var audio = $("