Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-03-09 21:25:27 +0300
committerGitHub <noreply@github.com>2021-03-09 21:25:27 +0300
commit45ab82b9d2a255941a925f59784bc5ea756d466e (patch)
tree7f8f5857327793e1f45658002e7ba096b7cb7ada /src
parent20a76fbc39741b1718952d20c3ea5261d38e5b31 (diff)
parent2feb1938daf49d6e3da379a0ae76ca20f79f8eb9 (diff)
Merge pull request #1418 from nextcloud/bugfix/noid/revision-fullscreen
Allow revision viewer to enter full screen
Diffstat (limited to 'src')
-rw-r--r--src/document.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.js b/src/document.js
index 0db7a865..974f3026 100644
--- a/src/document.js
+++ b/src/document.js
@@ -220,7 +220,7 @@ const documentsMain = {
+ '<input name="css_variables" value="' + generateCSSVarTokens() + '" type="hidden"/></form>'
// iframe that contains the Collabora Online Viewer
- const frame = '<iframe id="loleafletframe_viewer" name="loleafletframe_viewer" nonce="' + btoa(getRequestToken()) + '" style="width:100%;height:100%;position:absolute;"/>'
+ const frame = '<iframe id="loleafletframe_viewer" name="loleafletframe_viewer" allowfullscreen nonce="' + btoa(getRequestToken()) + '" style="width:100%;height:100%;position:absolute;"/>'
$('#revViewer').append(form)
$('#revViewer').append(frame)