diff options
Diffstat (limited to 'src/document.js')
-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' }) } |