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

Bugfix // Sort sections object, to not have the same order of nav-items as content-section

Open ixisio opened this issue 9 years ago • 2 comments

Currrently if you change the order of nav-items, the plugin stops working. So a sort method helps to always forEach the sections ins the same order, regardless of its DOM position.

ixisio avatar Sep 01 '15 08:09 ixisio

Thanks for this unmerged commit. You saved me hours and hours.

playmono avatar Feb 02 '16 11:02 playmono

@playmono Happy that I can help!

ixisio avatar Feb 02 '16 11:02 ixisio