Skip to content

Commit

Permalink
Merge pull request #192 from DennisNikolay/remove_pseudo_sandbox
Browse files Browse the repository at this point in the history
Remove pseudo sandbox
  • Loading branch information
ACTom authored Oct 20, 2024
2 parents 2cbe307 + 0c6c2ff commit 411db10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/mindmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ var FilesMindMap = {
var shown = true;
var viewer = OC.generateUrl('/apps/files_mindmap/');
$iframe = $('<iframe id="mmframe" style="width:100%;height:100%;display:block;position:absolute;top:0;' +
'z-index:1041;" src="'+viewer+'" sandbox="allow-scripts allow-same-origin allow-downloads allow-popups allow-modals ' +
'allow-top-navigation allow-presentation" allowfullscreen="true"/>');
'z-index:1041;" src="'+viewer+'" allowfullscreen="true"/>');

if (!$('#mimetype').val()) {
FileList.setViewerMode(true);
Expand Down

0 comments on commit 411db10

Please sign in to comment.