소스 검색

Bugfix. Paths to sound files should be absolute.

JC Brand 10 년 전
부모
커밋
eb00dcd44a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -349,7 +349,7 @@
         this.playNotification = function () {
             var audio;
             if (converse.play_sounds && typeof Audio !== "undefined"){
-                audio = new Audio("sounds/msg_received.ogg");
+                audio = new Audio("/sounds/msg_received.ogg");
                 if (audio.canPlayType('/audio/ogg')) {
                     audio.play();
                 } else {