Skip to content

Commit

Permalink
Merge pull request #23 from jason-brodie-codebaby/patch-1
Browse files Browse the repository at this point in the history
Fixed leaked for loop i
  • Loading branch information
frankyghost committed Jan 30, 2014
2 parents 16e8361 + 563f591 commit 3cf69b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller/projekktor.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jQuery(function ($) {
if (p.length > 3)
p = p.slice(0, 3);

for (i = 0; i < p.length; i++)
for (var i = 0; i < p.length; i++)
s = s * 60 + parseFloat(p[i].replace(',', '.'));
}

Expand Down Expand Up @@ -639,4 +639,4 @@ jQuery(function ($) {
return "1";
}
}
});
});

0 comments on commit 3cf69b9

Please sign in to comment.