Commit 310d2b77 authored by thierrytiti's avatar thierrytiti Committed by JC Brand

typo

parent 7ec44d56
...@@ -368,11 +368,11 @@ ...@@ -368,11 +368,11 @@
this.playNotification = function () { this.playNotification = function () {
var audio; var audio;
if (converse.play_sounds && typeof Audio !== "undefined"){ if (converse.play_sounds && typeof Audio !== "undefined"){
audio = new Audio(converse.play_sounds_path."msg_received.ogg"); audio = new Audio(converse.play_sounds_path+"msg_received.ogg");
if (audio.canPlayType('/audio/ogg')) { if (audio.canPlayType('/audio/ogg')) {
audio.play(); audio.play();
} else { } else {
audio = new Audio(converse.play_sounds_path."msg_received.mp3"); audio = new Audio(converse.play_sounds_path+"msg_received.mp3");
audio.play(); audio.play();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment