Skip to content

Commit 34fcae9

Browse files
committed
Update UIWindow.js
1 parent 3e3db23 commit 34fcae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/src/UI/UIWindow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ async function UIWindow(options) {
363363
allowfullscreen="true"
364364
webkitallowfullscreen="webkitallowfullscreen"
365365
mozallowfullscreen="mozallowfullscreen"
366-
sandbox="allow-forms allow-modals allow-pointer-lock allow-popups allow-popups-to-escape-sandbox ${options.iframe_srcdoc ? '' : 'allow-same-origin'} allow-scripts allow-top-navigation-by-user-activation allow-downloads allow-presentation allow-storage-access-by-user-activation allow-downloads-without-user-activation allow-file-system-write"></iframe>`;
366+
sandbox="allow-forms allow-modals allow-pointer-lock allow-popups allow-popups-to-escape-sandbox ${options.iframe_srcdoc ? '' : 'allow-same-origin'} allow-scripts allow-top-navigation-by-user-activation allow-downloads allow-presentation allow-storage-access-by-user-activation"></iframe>`;
367367
}
368368
// custom body
369369
else if(options.body_content !== undefined){

0 commit comments

Comments
 (0)