fixes bug refs YW-1515 partner login
Showing
4 changed files
with
1 additions
and
1 deletions
@@ -7636,7 +7636,7 @@ function callpay(orderCode) { | @@ -7636,7 +7636,7 @@ function callpay(orderCode) { | ||
7636 | function isWXOpen() { | 7636 | function isWXOpen() { |
7637 | var ua = window.navigator.userAgent.toLowerCase(); | 7637 | var ua = window.navigator.userAgent.toLowerCase(); |
7638 | 7638 | ||
7639 | - if (ua.match(/MicroMessenger/i).toString() === 'micromessenger') { | 7639 | + if (ua.indexOf('micromessenger') > 0) { |
7640 | return true; | 7640 | return true; |
7641 | } else { | 7641 | } else { |
7642 | return false; | 7642 | 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.
-
Please register or login to post a comment