|
|
|
@ -113,7 +113,6 @@
|
|
|
|
|
var operation_pause= /*[[${operation_pause}]]*/false;
|
|
|
|
|
var cancel_waring= /*[[${cancel_waring}]]*/'';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function is_weixin() {
|
|
|
|
|
var ua = navigator.userAgent.toLowerCase();
|
|
|
|
|
if (ua.match(/MicroMessenger/i) == "micromessenger") {
|
|
|
|
@ -131,7 +130,7 @@
|
|
|
|
|
} else if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
|
|
|
|
|
window.webkit.messageHandlers.appCmd.postMessage({type:'cmd_join_mondelay'});
|
|
|
|
|
} else if (/(Android)/i.test(navigator.userAgent)) {
|
|
|
|
|
android.appCmd('{\"type\":\"cmd_join_mondelay\",\"cancel_waring\":\"'+cancel_waring+'\"}');
|
|
|
|
|
android.appCmd('{\"type\":\"cmd_join_mondelay\"}');
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -145,7 +144,8 @@
|
|
|
|
|
} else if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
|
|
|
|
|
window.webkit.messageHandlers.appCmd.postMessage({type:'cmd_cancel_mondelay',cancel_waring:cancel_waring});
|
|
|
|
|
} else if (/(Android)/i.test(navigator.userAgent)) {
|
|
|
|
|
android.appCmd('{\"type\":\"cmd_cancel_mondelay\",\"cancel_waring\":\"'+cancel_waring+'\"}'); } else {
|
|
|
|
|
android.appCmd('{\"type\":\"cmd_cancel_mondelay\",\"cancel_waring\":\"'+cancel_waring+'\"}');
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|