summaryrefslogtreecommitdiff
path: root/www/js/api.js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-01-27 21:54:29 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-01-27 21:55:17 -0500
commit86b9f9a40a1549d275dc8a57bf192b97c6954eed (patch)
treee809770831fb651e317b8971afc9a44a72579772 /www/js/api.js
parent57d8ff65e38a056f96d82aba545aa2600f30751b (diff)
downloadhtml5ks-86b9f9a40a1549d275dc8a57bf192b97c6954eed.tar.xz
html5ks-86b9f9a40a1549d275dc8a57bf192b97c6954eed.zip
Fix off-by-one error, update modernizr.
Diffstat (limited to 'www/js/api.js')
-rw-r--r--www/js/api.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/api.js b/www/js/api.js
index 74971ae..04267d3 100644
--- a/www/js/api.js
+++ b/www/js/api.js
@@ -37,6 +37,7 @@ window.html5ks.api = new (function () {
var deferred = when.defer();
var i = 0;
var _nextType = function () {
+ i++;
for (; i < types.length; i++) {
var type = types[i];
if (el.canPlayType(type[0])) {