From 3db4fad22bebebcd465e30569de3b7bd113c4046 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 25 Mar 2021 13:14:54 +0530 Subject: [PATCH] hack to fix mobile sheets on safari/iPad --- www/common/onlyoffice/v4/web-apps/apps/api/documents/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 b906a291a..2cf989670 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,11 @@ isSafari_mobile = !isIE && !isChrome && check(/safari/) && (navigator.maxTouchPoints>0); path += app + "/"; - path += (config.type === "mobile" || isSafari_mobile) + path += "main"; /* (config.type === "mobile" || isSafari_mobile) ? "mobile" : config.type === "embedded" ? "embed" - : "main"; + : "main"; */ var index = "/index.html"; if (config.editorConfig) {