summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/api.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/api.js b/www/js/api.js
index 4eef78a..79b735e 100644
--- a/www/js/api.js
+++ b/www/js/api.js
@@ -51,8 +51,6 @@ window.html5ks.api = {
html5ks.spin(1);
- _nextType();
-
el.oncanplaythrough = function () {
el.play();
html5ks.spin(-1);
@@ -67,6 +65,8 @@ window.html5ks.api = {
console.error("unknown audio error");
}
};
+
+ _nextType();
},
play: function (channel, name, ignore, fade) {