Browse files

added comment

  • Loading branch information...
1 parent 3f7e18c commit 750e529880a3908226d2618d79869346dab9f501 @impressivewebs committed Dec 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/script.js
View
2 js/script.js
@@ -9,7 +9,7 @@ $(function(){
// check the existence of the start attribute
if ($(this).attr('start')) {
- // if it exists, convert it to an integer
+ // if it exists, convert it to an integer; also ensures even decimal values work
currCount = parseInt($(this).attr('start'), 10);
// If it wasn't a number, it will return 'NaN'; if so, use the number of list items instead

0 comments on commit 750e529

Please sign in to comment.