Skip to content

Commit 43dcd42

Browse files
committed
Merge pull request #359 from decademoon/safari-base-bug
fix history.replaceState() with base and null url
2 parents a50285c + 9834ad4 commit 43dcd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/history/html5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class HTML5History {
4848
x: window.pageXOffset,
4949
y: window.pageYOffset
5050
}
51-
}, '')
51+
}, '', location.href)
5252
// then push new state
5353
history.pushState({}, '', url)
5454
}

0 commit comments

Comments
 (0)