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); isSafari_mobile = !isIE && !isChrome && check(/safari/) && (navigator.maxTouchPoints>0);
path += app + "/"; path += app + "/";
path += "main"; /* (config.type === "mobile" || isSafari_mobile) /*
path += (config.type === "mobile" || isSafari_mobile)
? "mobile" ? "mobile"
: config.type === "embedded" : config.type === "embedded"
? "embed" ? "embed"
: "main"; */ : "main";
*/
path += "main";
var index = "/index.html"; var index = "/index.html";
if (config.editorConfig) { if (config.editorConfig) {

Loading…
Cancel
Save