Showing
3 changed files
with
7 additions
and
1 deletions
@@ -4,11 +4,13 @@ | @@ -4,11 +4,13 @@ | ||
4 | 4 | ||
5 | var $ = require('yoho-jquery'); | 5 | var $ = require('yoho-jquery'); |
6 | 6 | ||
7 | +document.domain = "yohobuy.com"; | ||
8 | + | ||
7 | $(function() { | 9 | $(function() { |
8 | var type = $('#type').val(); | 10 | var type = $('#type').val(); |
9 | var result = $('#bindResult').val(); | 11 | var result = $('#bindResult').val(); |
10 | var message = $('#bindResultMessage').val(); | 12 | var message = $('#bindResultMessage').val(); |
11 | 13 | ||
12 | - window.opener.bindTip(result, type, message); | 14 | + window.opener.bindTip && window.opener.bindTip(result, type, message); |
13 | window.close(); | 15 | window.close(); |
14 | }); | 16 | }); |
-
Please register or login to post a comment