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:
authorAndras Timar <andras.timar@collabora.com>2020-01-08 12:36:02 +0300
committerGitHub <noreply@github.com>2020-01-08 12:36:02 +0300
commit1a4a4e5a238c9e3793cf88d5293bb69a3ebb5ca7 (patch)
tree2c2b88e71e4c4f1a9e5d06ae1f0a3238306f6089 /src
parentc332a6725048d9158384fe3f6605ddfac67b3a4f (diff)
Missing () in condition
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 f0f86bd7..515243c6 100644
--- a/src/document.js
+++ b/src/document.js
@@ -197,7 +197,7 @@ const documentsMain = {
PostMessages.unregisterPostMessageHandler(editorInitListener)
// Hide buttons when using the mobile app integration
- if (isDirectEditing) {
+ if (isDirectEditing()) {
PostMessages.sendWOPIPostMessage('loolframe', 'Hide_Button', { id: 'fullscreen' })
PostMessages.sendWOPIPostMessage('loolframe', 'Hide_Menu_Item', { id: 'fullscreen' })
}