diff --git a/products/ASC.Files/Client/src/components/pages/DocEditor/index.js b/products/ASC.Files/Client/src/components/pages/DocEditor/index.js index 5372997db8..42e249b6fd 100644 --- a/products/ASC.Files/Client/src/components/pages/DocEditor/index.js +++ b/products/ASC.Files/Client/src/components/pages/DocEditor/index.js @@ -131,13 +131,6 @@ class PureEditor extends React.Component { const newConfig = Object.assign(config, events); - const { isDesktop } = this.state; - - // if (isDesktop && newConfig.editorConfig["encryptionKeys"] !== undefined) { - // newConfig.editorConfig.encryptionKeys.cryptoEngineId = - // "{FFF0E1EB-13DB-4678-B67D-FF0A41DBBCEF}"; - // } - if (!window.DocsAPI) throw new Error("DocsAPI is not defined"); hideLoader();