Prevent auto scrolling when clicking tab anchor
- by JohnCrossy
On my page I have some tabs that I've added some javascript so when they're clicked the page loads the tab's anchor URL instead of simply changing the view with AJAX, but I now want to stop the browser from auto scrolling to the anchor location.
Having done some research, I'm pretty sure I just need to add a couple of lines so that when clicked it…