We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9030668 commit 0a564f6Copy full SHA for 0a564f6
live-view/live-view.js
@@ -615,13 +615,7 @@ if (isMobile) {
615
const liveViewURL = livePath +'?'+ workerClientId +'/';
616
617
// create a new window with live view URL
618
- const liveViewWindow = window.open(liveViewURL, '_blank');
619
-
620
- liveViewWindow.window.addEventListener('DOMContentLoaded', () => {
621
- liveViewWindow.window.addEventListener('beforeunload', (e) => {
622
- console.log('[Live view] Closing window', e);
623
- });
624
+ window.open(liveViewURL, '_blank');
625
626
627
// close inline live view
0 commit comments