Permalink
Browse files

changed length() to length -thx mathias

  • Loading branch information...
1 parent 11b0f85 commit 129ae8ef003aadf6d11334dd5a83c9adaed42c3f @impressivewebs committed Jan 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/script.js
View
@@ -17,13 +17,13 @@ $(function(){
// If it wasn't a number, it will return 'NaN'; if so, use the number of list items instead
if (isNaN(currCount)) {
- currCount = $(this).children().length();
+ currCount = $(this).children().length;
}
// do this if the start attribute is not present
// the first number is derived from the number of list items
} else {
- currCount = $(this).children().length();
+ currCount = $(this).children().length;
}
// grab all the child list items

0 comments on commit 129ae8e

Please sign in to comment.