Permalink
Browse files

syntax fixes

  • Loading branch information...
1 parent a2c33e8 commit b99c99567e42a8d70d2d4645bccda84475e96f2b @impressivewebs committed Dec 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/script.js
View
@@ -4,7 +4,7 @@ $(function(){
currCount = null,
currChildren = null;
- $(myLists).each(function() {
+ myLists.each(function() {
// check the existence of the start attribute
if ($(this).attr('start')) {
@@ -31,7 +31,7 @@ $(function(){
// go through each list item, adding the 'value' attribute plus currCount number
// then subract one from currCount so we're ready for the next one
- $(currChildren).each(function() {
+ currChildren.each(function() {
$(this).attr('value', currCount);
currCount = currCount - 1;

0 comments on commit b99c995

Please sign in to comment.