Authored by 梁志锋

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

@@ -90,7 +90,7 @@ function callpay(orderCode) { @@ -90,7 +90,7 @@ function callpay(orderCode) {
90 90
91 91
92 function isWXOpen() { 92 function isWXOpen() {
93 - var ua = navigator.userAgent.toLowerCase(); 93 + var ua = window.navigator.userAgent.toLowerCase();
94 94
95 if (ua.match(/MicroMessenger/i) === 'micromessenger') { 95 if (ua.match(/MicroMessenger/i) === 'micromessenger') {
96 return true; 96 return true;