diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-09-02 19:50:32 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-09-02 19:50:32 -0400 |
commit | 0778a73c554eaf3fb876804acec6d2fcb9879cc8 (patch) | |
tree | 473b9c090dcec0580193cf66344dc126c04db45b /www/js | |
parent | b9adb183fccdc38dc329cb6e27b2a674b6803a81 (diff) | |
download | html5ks-0778a73c554eaf3fb876804acec6d2fcb9879cc8.tar.xz html5ks-0778a73c554eaf3fb876804acec6d2fcb9879cc8.zip |
fix minor bugs
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/api.js b/www/js/api.js index ed5b387..fae899e 100644 --- a/www/js/api.js +++ b/www/js/api.js @@ -40,7 +40,7 @@ window.html5ks.api = { } html5ks.elements.audio[channel] = audio; - var src = "dump/" + channel === "music" ? html5ks.data.music[name] : html5ks.data.sfx[name]; + var src = "dump/" + (channel === "music" ? html5ks.data.music[name] : html5ks.data.sfx[name]); if (Modernizr.audio.opus) { audio.src = src + ".opus"; } else if (Modernizr.audio.ogg) { |