Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find wrong route in IE11 #77

Closed
olofweb opened this issue Feb 9, 2017 · 1 comment
Closed

Find wrong route in IE11 #77

olofweb opened this issue Feb 9, 2017 · 1 comment

Comments

@olofweb
Copy link

olofweb commented Feb 9, 2017

Hi, I have a problem on IE11 with your demo (http://work.krasimirtsonev.com/git/navigo/).

The function match(url, routes) call findMatchedRoutes(url, routes) and take the first element. But the order of elements is different depending of the browser.

In IE, "root" route is first but not in Chrome. So in IE, "root" route is always returned as matched route.

IE :
ie

Chrome :
chrome

@krasimir
Copy link
Owner

krasimir commented Feb 9, 2017

Fixed by #78.

@krasimir krasimir closed this as completed Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants