rabin 2 years ago
parent
commit
a28798fdf9
1 changed files with 1 additions and 5 deletions
  1. 1 5
      data/payback/active.html

+ 1 - 5
data/payback/active.html

@@ -89,13 +89,9 @@ src="https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js"></script>
       }
   } else {
     function jumpOut() {
-      if (self.frameElement && self.frameElement.tagName == "IFRAME") {
-          var mchData = {action: 'jumpOut', jumpOutUrl: jump}
+      var mchData = {action: 'jumpOut', jumpOutUrl: jump}
           var postData = JSON.stringify(mchData)
           parent.postMessage(postData, 'https://payapp.weixin.qq.com')
-      } else {
-          location.href = jump;
-      }
       
   }