diff options
Diffstat (limited to 'templates/editor.php')
-rw-r--r-- | templates/editor.php | 5 |
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"]) ?>" |