|
@@ -155,7 +155,7 @@ $('.phone-input-content div').on('click', function() { |
|
@@ -155,7 +155,7 @@ $('.phone-input-content div').on('click', function() { |
155
|
},
|
155
|
},
|
156
|
success: function(data) {
|
156
|
success: function(data) {
|
157
|
if (data.result.code === 200) {
|
157
|
if (data.result.code === 200) {
|
158
|
- if (window._yas) {
|
158
|
+ if (window._yas && window._yas.sendCustomInfo) {
|
159
|
window._yas.sendCustomInfo({
|
159
|
window._yas.sendCustomInfo({
|
160
|
activityID: activityID,
|
160
|
activityID: activityID,
|
161
|
returnCode: data.result.returnCode
|
161
|
returnCode: data.result.returnCode
|
|
@@ -236,7 +236,7 @@ $('.vertify-input-content').on('click', '.get', function() { |
|
@@ -236,7 +236,7 @@ $('.vertify-input-content').on('click', '.get', function() { |
236
|
dataType: 'json',
|
236
|
dataType: 'json',
|
237
|
success: function(data) {
|
237
|
success: function(data) {
|
238
|
if (data.result.code === 200) {
|
238
|
if (data.result.code === 200) {
|
239
|
- if (window._yas) {
|
239
|
+ if (window._yas && window._yas.sendCustomInfo) {
|
240
|
window._yas.sendCustomInfo({
|
240
|
window._yas.sendCustomInfo({
|
241
|
activityID: activityID,
|
241
|
activityID: activityID,
|
242
|
returnCode: data.result.returnCode
|
242
|
returnCode: data.result.returnCode
|
|
@@ -341,7 +341,7 @@ $('.description').on('click', function() { |
|
@@ -341,7 +341,7 @@ $('.description').on('click', function() { |
341
|
});
|
341
|
});
|
342
|
|
342
|
|
343
|
$('.use-coupon-btn').on('click', function() {
|
343
|
$('.use-coupon-btn').on('click', function() {
|
344
|
- if (window._yas) {
|
344
|
+ if (window._yas && window._yas.sendCustomInfo) {
|
345
|
window._yas.sendCustomInfo({
|
345
|
window._yas.sendCustomInfo({
|
346
|
activityID: activityID
|
346
|
activityID: activityID
|
347
|
}, true);
|
347
|
}, true);
|