From f5a8703b38c380e1ea170328695b417098f08050 Mon Sep 17 00:00:00 2001
From: Elias Nahum <nahumhbl@gmail.com>
Date: Fri, 18 Mar 2016 12:29:04 -0300
Subject: PLT-2392: Fix for Notification sound broken

---
 webapp/utils/utils.jsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'webapp/utils/utils.jsx')

diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx
index 12a7ff50e..95a0f99d5 100644
--- a/webapp/utils/utils.jsx
+++ b/webapp/utils/utils.jsx
@@ -20,6 +20,7 @@ import React from 'react';
 import {FormattedTime} from 'react-intl';
 
 import icon50 from 'images/icon50x50.png';
+import bing from 'images/bing.mp3';
 
 export function isEmail(email) {
     // writing a regex to match all valid email addresses is really, really hard (see http://stackoverflow.com/a/201378)
@@ -187,7 +188,7 @@ var canDing = true;
 
 export function ding() {
     if (!isBrowserFirefox() && canDing) {
-        var audio = new Audio('/static/images/bing.mp3');
+        var audio = new Audio(bing);
         audio.play();
         canDing = false;
         setTimeout(() => {
-- 
cgit v1.2.3-1-g7c22

