diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 4270b0f4c..2f4bdf29b 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -110,7 +110,7 @@ define([ window.frames[0].editor.asc_setViewMode(!state); //window.frames[0].editor.setViewModeDisconnect(true); } catch (e) {} - if (!state) { + if (!state && !readOnly) { $('#cp-app-oo-editor').append(h('div#cp-app-oo-offline')); } debug(state);