File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1004,6 +1004,9 @@ async function renderLiveViewHTML(file) {
10041004 liveView . innerHTML = '<iframe src="' + livePath + '?' + workerClientId + '" name="Live view" title="Live view" class="live-frame" allow="accelerometer; camera; encrypted-media; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write" allowfullscreen="true" allowpaymentrequest="true" loading="lazy" sandbox="allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation" scrolling="yes" frameborder="0"></iframe>' ;
10051005
10061006
1007+ liveFile = file ;
1008+
1009+
10071010 const liveFrame = liveView . querySelector ( '.live-frame' ) ;
10081011
10091012 liveFrame . contentWindow . history . replaceState ( { } , 'Live view' , livePath ) ;
@@ -1014,9 +1017,6 @@ async function renderLiveViewHTML(file) {
10141017
10151018 } ) ;
10161019
1017-
1018- liveFile = file ;
1019-
10201020}
10211021
10221022
You can’t perform that action at this time.
0 commit comments