mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge branch 'debug-iOS' into staging
This commit is contained in:
commit
333c4f4bf5
@ -926,6 +926,10 @@
|
||||
isSafari_mobile = !isIE && !isChrome && check(/safari/) && (navigator.maxTouchPoints>0),
|
||||
path_type;
|
||||
|
||||
//XXX CryptPad do not use mobile page for iOS Safari. The mobile page does not load require.js.
|
||||
// We need require() in docscoapi.js
|
||||
isSafari_mobile = false;
|
||||
|
||||
path += app + "/";
|
||||
path_type = (config.type === "mobile" || isSafari_mobile)
|
||||
? "mobile" : (config.type === "embedded")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user