1
0
Fork 0
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:
frankdelange 2017-03-29 16:37:26 +02:00
parent 4b31f04330
commit 7d145ee832

View file

@ -79,7 +79,7 @@
if (isMobile || hasTouch) {
window.open(viewer, downloadUrl);
} 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) {
FileList.setViewerMode(true);
}