Skip to content

Commit

Permalink
Update UIWindow.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jelveh committed Jan 3, 2025
1 parent 3e3db23 commit 34fcae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/src/UI/UIWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ async function UIWindow(options) {
allowfullscreen="true"
webkitallowfullscreen="webkitallowfullscreen"
mozallowfullscreen="mozallowfullscreen"
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>`;
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>`;
}
// custom body
else if(options.body_content !== undefined){
Expand Down

0 comments on commit 34fcae9

Please sign in to comment.