Skip to content

Commit 9834ad4

Browse files
committed
fix history.replaceState() with base and null url
1 parent a50285c commit 9834ad4

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)