Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use window.location.pathname if anchor pathname is empty (IE11)
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").
- Loading branch information