Skip to content

Commit

Permalink
- afterload is now fired with when animateAnchor is disabled #251
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarotrigo committed Feb 17, 2014
1 parent ea3bd35 commit 9589567
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion jquery.fullPage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* fullPage 1.7.2
* fullPage 1.7.3
* https://github.com/alvarotrigo/fullPage.js
* MIT licensed
*
Expand Down Expand Up @@ -287,6 +287,7 @@

if(!options.animateAnchor && section.length){
silentScroll(section.position().top);
$.isFunction( options.afterLoad ) && options.afterLoad.call( this, destiny, (section.index('.section') + 1));

//updating the active class
section.addClass('active').siblings().removeClass('active');
Expand Down
6 changes: 3 additions & 3 deletions jquery.fullPage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9589567

Please sign in to comment.