mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
files_reader: remove 'allow-popups' from iframe permissions, was there temporarily for testing purposes
This commit is contained in:
parent
4b31f04330
commit
7d145ee832
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
||||||
if (isMobile || hasTouch) {
|
if (isMobile || hasTouch) {
|
||||||
window.open(viewer, downloadUrl);
|
window.open(viewer, downloadUrl);
|
||||||
} else {
|
} else {
|
||||||
$iframe = '<iframe style="width:100%;height:100%;display:block;position:absolute;top:0;" src="' + viewer + '" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" sandbox="allow-popups allow-scripts allow-same-origin"/>';
|
$iframe = '<iframe style="width:100%;height:100%;display:block;position:absolute;top:0;" src="' + viewer + '" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" sandbox="allow-scripts allow-same-origin"/>';
|
||||||
if (isFileList === true) {
|
if (isFileList === true) {
|
||||||
FileList.setViewerMode(true);
|
FileList.setViewerMode(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue