Authored by biao

fix weixin open check

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