修复结算页发票点选后,发票抬头与类型不能点选的bug
Code Review By Rock Zhang
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -242,10 +242,10 @@ $('.coin').on('touchend', function() { | @@ -242,10 +242,10 @@ $('.coin').on('touchend', function() { | ||
242 | orderCompute(); | 242 | orderCompute(); |
243 | }); | 243 | }); |
244 | 244 | ||
245 | -$invoice.on('touchend', function(e) { | 245 | +$invoice.on('touchend', '.checkbox', function(e) { |
246 | var $this = $(this); | 246 | var $this = $(this); |
247 | 247 | ||
248 | - orderInfo('invoice', $this.find('.checkbox').hasClass('icon-cb-checked')); | 248 | + orderInfo('invoice', $this.hasClass('icon-cb-checked')); |
249 | e.preventDefault(); | 249 | e.preventDefault(); |
250 | e.stopPropagation(); | 250 | e.stopPropagation(); |
251 | }); | 251 | }); |
-
Please register or login to post a comment