Skip to content

Commit 7751b26

Browse files
committed
- Fixed bug: state class didnt change when using autoScrolling:false and no anchors alvarotrigo#2160
1 parent baf62d7 commit 7751b26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jquery.fullPage.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,9 +993,8 @@
993993
if(options.anchors.length){
994994
//needed to enter in hashChange event when using the menu with anchor links
995995
lastScrolledDestiny = anchorLink;
996-
997-
setState(slideIndex, slideAnchorLink, anchorLink, sectionIndex);
998996
}
997+
setState(slideIndex, slideAnchorLink, anchorLink, sectionIndex);
999998
}
1000999

10011000
//small timeout in order to avoid entering in hashChange event when scrolling is not finished yet

0 commit comments

Comments
 (0)