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

github.com/ONLYOFFICE/onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/editor.php')
-rw-r--r--templates/editor.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/editor.php b/templates/editor.php
index c40975a..c51be6e 100644
--- a/templates/editor.php
+++ b/templates/editor.php
@@ -25,7 +25,10 @@
}
?>
-<div id="app">
+<div id="app"
+ <?php if (!empty($_["inviewer"])) { ?>
+ class="onlyoffice-inviewer"
+ <?php } ?>>
<div id="iframeEditor"
data-id="<?php p($_["fileId"]) ?>"