Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

Commit

Permalink
Fix issue #3, thanks to Bradly Duell's contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Brown committed May 24, 2012
1 parent c56c827 commit 63e67dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.multipage.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
}

$(id + ' fieldset.active input:first').focus();

curpage=page;
return false;

}
Expand Down Expand Up @@ -153,7 +153,7 @@
if (curpage > settings.pages.length) {
// submit!
$(this).submit();
curpage = settings.pages;
curpage = settings.pages.length;
return false;
}
$(this).gotopage(curpage);
Expand Down

0 comments on commit 63e67dd

Please sign in to comment.