diff --git a/www/common/onlyoffice/v4/web-apps/apps/api/documents/api.js b/www/common/onlyoffice/v4/web-apps/apps/api/documents/api.js index 2cf989670..34d7e5856 100644 --- a/www/common/onlyoffice/v4/web-apps/apps/api/documents/api.js +++ b/www/common/onlyoffice/v4/web-apps/apps/api/documents/api.js @@ -807,11 +807,14 @@ isSafari_mobile = !isIE && !isChrome && check(/safari/) && (navigator.maxTouchPoints>0); path += app + "/"; - path += "main"; /* (config.type === "mobile" || isSafari_mobile) + /* + path += (config.type === "mobile" || isSafari_mobile) ? "mobile" : config.type === "embedded" ? "embed" - : "main"; */ + : "main"; + */ + path += "main"; var index = "/index.html"; if (config.editorConfig) {