Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

changed length() to length -thx mathias

  • Loading branch information...
commit 129ae8ef003aadf6d11334dd5a83c9adaed42c3f 1 parent 11b0f85
@impressivewebs authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/script.js
View
4 js/script.js
@@ -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.
Something went wrong with that request. Please try again.