File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1008,6 +1008,8 @@ async function renderLiveViewHTML(file) {
10081008 await workerInstallPromise ;
10091009
10101010 }
1011+
1012+ if ( ! workerClientId ) await workerInstallPromise ;
10111013
10121014
10131015 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>' ;
You can’t perform that action at this time.
0 commit comments