mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
hack to fix mobile sheets on safari/iPad
This commit is contained in:
parent
7b5c70b2ad
commit
3db4fad22b
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user