Why does this jQuery one page menu select the wrong item on click?
I have a weird issue where I'm using jQuery to automatically add an "active" class to an internal menu (and update the url on) when the user scrolls or clicks on each menu item. On scroll it works fine, but…