Fix mobile detection in OO

pull/1/head
yflory 4 years ago
parent 4e0c0c5b0c
commit b2fb5b9140

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

Loading…
Cancel
Save