Merge branch 'debug-iOS' into staging

This commit is contained in:
Wolfgang Ginolas 2023-04-21 14:52:11 +02:00
commit 333c4f4bf5

View File

@ -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")