diff --git a/www/drawio/inner.js b/www/drawio/inner.js index ff9817ae9..3528e23a0 100644 --- a/www/drawio/inner.js +++ b/www/drawio/inner.js @@ -88,7 +88,6 @@ define([ // This is called when the history is synced. "onContentUpdate" has already been called with the full content and the loading screen is being removed. framework.onReady(function (newPad) { - // Here you can focus any editable part, check the integrity of the current data or intialize some values }); // starting the CryptPad framework @@ -103,6 +102,8 @@ define([ embed: 1, drafts: 0, + chrome: framework.isReadOnly() ? 0 : 1, + // Hide save and exit buttons noSaveBtn: 1, saveAndExit: 0,