jQuery-One-Page-Nav icon indicating copy to clipboard operation
jQuery-One-Page-Nav copied to clipboard

Detecting current section fix

Open khozlov opened this issue 12 years ago • 2 comments

We run into some issues when our top nav was ordered differently than the sections on the page. In our case the link to the top section was moved from the first position to the last which made it always be returned. This change fixes the issue and makes sure that when you are at the bottom of your page, last section is being returned even if it's to small to be chosen based on regular calculations.

khozlov avatar Jul 15 '13 08:07 khozlov

This fixes my problem! Thanks!

davidbarratt avatar Sep 08 '13 14:09 davidbarratt

This fixed the same issue for me, too. Thanks for the fix, hope it gets merged back.

chesedo avatar Nov 22 '13 11:11 chesedo