diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-03-09 15:59:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 15:59:46 +0300 |
commit | 13f70c8dcad9c8c7d7cbac9232eec2b0853dc861 (patch) | |
tree | 9483f27d18d4ff1cd242436e800e976ac374e259 | |
parent | b5f94c67e86ad11bf82be977fb611f6b56153eb2 (diff) | |
parent | 405bd52f035ca3bb8133b6f8428ca38fe2ec5f98 (diff) |
Merge pull request #59 from nextcloud/stable13-57-enable-fullscreen-mode-for-pdf-filesv13.0.1RC1v13.0.1
[stable13] Enable full screen mode for PDF files
-rw-r--r-- | js/previewplugin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/previewplugin.js b/js/previewplugin.js index 80afafb..1a9794e 100644 --- a/js/previewplugin.js +++ b/js/previewplugin.js @@ -47,7 +47,7 @@ var shown = true; var $iframe; var viewer = OC.generateUrl('/apps/files_pdfviewer/?file={file}', {file: downloadUrl}); - $iframe = $('<iframe id="pdframe" style="width:100%;height:100%;display:block;position:absolute;top:0;z-index:1041;" src="'+viewer+'" sandbox="allow-scripts allow-same-origin allow-popups allow-modals allow-top-navigation" />'); + $iframe = $('<iframe id="pdframe" style="width:100%;height:100%;display:block;position:absolute;top:0;z-index:1041;" src="'+viewer+'" sandbox="allow-scripts allow-same-origin allow-popups allow-modals allow-top-navigation" allowfullscreen="true"/>'); if(isFileList === true) { FileList.setViewerMode(true); |