Skip to content

Commit d94d259

Browse files
Fix IE11 error from use of String.includes()
1 parent 831527f commit d94d259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/router/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const resolvePath = cached(path => {
102102
function normaliseFragment(path) {
103103
return path
104104
.split('/')
105-
.filter(p => !p.includes('#'))
105+
.filter(p => p.indexOf('#') === -1)
106106
.join('/');
107107
}
108108

0 commit comments

Comments
 (0)