Skip to content

Commit 8447e06

Browse files
committed
Update live-view.js
1 parent e957d7d commit 8447e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

live-view/live-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ if (isMobile) {
620620
// replace URL in window address bar
621621
liveViewWindow.addEventListener('DOMContentLoaded', () => {
622622

623-
liveViewWindow.window.history.replaceState({}, 'Codeit', window.location.origin + '/full/run');
623+
liveViewWindow.window.history.pushState({}, 'Codeit', window.location.origin + '/full/run');
624624

625625
});
626626

0 commit comments

Comments
 (0)