diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-01-27 21:54:29 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-01-27 21:55:17 -0500 |
commit | 86b9f9a40a1549d275dc8a57bf192b97c6954eed (patch) | |
tree | e809770831fb651e317b8971afc9a44a72579772 /www/js/api.js | |
parent | 57d8ff65e38a056f96d82aba545aa2600f30751b (diff) | |
download | html5ks-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.js | 1 |
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])) { |