Showing
2 changed files
with
4 additions
and
2 deletions
@@ -407,14 +407,15 @@ $('.dispatch-time').on('touchend', 'li', function() { | @@ -407,14 +407,15 @@ $('.dispatch-time').on('touchend', 'li', function() { | ||
407 | orderInfo('deliveryTimeId', $(this).data('id')); | 407 | orderInfo('deliveryTimeId', $(this).data('id')); |
408 | }); | 408 | }); |
409 | 409 | ||
410 | -$('.yoho-coin-help-dialog-bg, .yoho-coin-footer').on('touchend', function(e) { | 410 | +$('.yoho-coin-help-dialog-bg, .yoho-coin-footer').on('click', function(e) { |
411 | e.preventDefault(); | 411 | e.preventDefault(); |
412 | $('.yoho-coin-help-dialog-bg').addClass('hide'); | 412 | $('.yoho-coin-help-dialog-bg').addClass('hide'); |
413 | $('.yoho-coin-help-dialog').addClass('hide'); | 413 | $('.yoho-coin-help-dialog').addClass('hide'); |
414 | }); | 414 | }); |
415 | 415 | ||
416 | -$('.coin').on('touchend', function(e) { | 416 | +$('.coin').on('click', function(e) { |
417 | var $this = $(this); | 417 | var $this = $(this); |
418 | + e.preventDefault(); | ||
418 | 419 | ||
419 | if ($(e.target).closest('.yoho-coin-help').length) { | 420 | if ($(e.target).closest('.yoho-coin-help').length) { |
420 | $('.yoho-coin-help-dialog-bg').removeClass('hide'); | 421 | $('.yoho-coin-help-dialog-bg').removeClass('hide'); |
-
Please register or login to post a comment