Skip to content

fix: Use window.location.pathname if anchor pathname is empty (IE11) - #484

Open
cluick wants to merge 1 commit into
visionmedia:masterfrom
cluick:master
Open

fix: Use window.location.pathname if anchor pathname is empty (IE11)#484
cluick wants to merge 1 commit into
visionmedia:masterfrom
cluick:master

Conversation

@cluick

@cluick cluick commented May 16, 2018

Copy link
Copy Markdown

IE11 will return an empty pathname for anchors where the href attribute
contains a relative link consisting of only a query parameter
(e.g. "?search=test"). This will not fix cases where the relative link
contains a relative path (e.g. "foo/bar.html").

IE11 will return an empty pathname for anchors where the href attribute
contains a relative link consisting of only a query parameter
(e.g. "?search=test"). This will not fix cases where the relative link
contains a relative path (e.g. "foo/bar.html").
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 90.449% when pulling 63957ed on cluick:master into 043e68c on visionmedia:master.

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

Successfully merging this pull request may close these issues.

2 participants