Skip to content

Commit 5a1ff00

Browse files
committed
Update live-view.js
1 parent 1ad89ea commit 5a1ff00

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

live-view/live-view.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -617,19 +617,6 @@ if (isMobile) {
617617
// create a new window with live view URL
618618
const liveViewWindow = window.open(liveViewURL, '_blank');
619619

620-
// replace URL in window address bar
621-
liveViewWindow.addEventListener('DOMContentLoaded', () => {
622-
623-
liveViewWindow.window.history.pushState({url: liveViewURL}, 'Codeit', window.location.origin + '/full/run');
624-
625-
});
626-
627-
liveViewWindow.addEventListener('beforeunload', () => {
628-
629-
liveViewWindow.window.location.href = liveViewWindow.window.history.state.url;
630-
631-
});
632-
633620

634621
// close inline live view
635622

0 commit comments

Comments
 (0)