Don't try to navigate to a route when clicking an 'a' tag that starts with a hash (with pushState enabled)

When clicking a link that has an href starting with "#", the router should not try to navigate to that route if you are using pushState. I added a check to make sure the first character isn't a hash.