Authored by biao

fix weixin check bug. code review by LZF

... ... @@ -92,7 +92,7 @@ function callpay(orderCode) {
function isWXOpen() {
var ua = window.navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i).toString() === 'micromessenger') {
if (ua.indexOf('micromessenger') > 0) {
return true;
} else {
return false;
... ...