Authored by hf

fixes bug refs YW-1515 partner login

... ... @@ -7636,7 +7636,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;
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.