Skip to content

Commit

Permalink
Fixed leaked for loop i
Browse files Browse the repository at this point in the history
Ref issue #21
  • Loading branch information
jason-brodie-codebaby committed Jan 29, 2014
1 parent d312d2f commit 563f591
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 563f591

Please sign in to comment.