diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-01-08 12:36:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 12:36:02 +0300 |
commit | 1a4a4e5a238c9e3793cf88d5293bb69a3ebb5ca7 (patch) | |
tree | 2c2b88e71e4c4f1a9e5d06ae1f0a3238306f6089 /src | |
parent | c332a6725048d9158384fe3f6605ddfac67b3a4f (diff) |
Missing () in condition
Diffstat (limited to 'src')
-rw-r--r-- | src/document.js | 2 |
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' }) } |