franciscop/crossroad

Skip e.preventDefault() when the link is a hash

franciscop opened this issue · 0 comments

When the link is a hash to a page fragment, skip doing .preventDefault() in here since we do want the browser to scroll:

https://github.com/franciscop/crossroad/blob/master/src/Router.js#L47