diff --git a/src/get-info.js b/src/get-info.js index 37d750b5..a623361f 100644 --- a/src/get-info.js +++ b/src/get-info.js @@ -709,7 +709,7 @@ var Getters = { //chose derivatives over originals to save on bandwith and ensure web-compatibility, even if they don't always look as nice :P derivative.forEach(function(file){ //sift through standard files to find matching originals - for(i = 0; i < vids.length; i++){ + for(var i = 0; i < vids.length; i++){ //if we have a match if(vids[i].name == file.original){ //replace the file with the correct derivative