Showing
1 changed file
with
1 additions
and
1 deletions
@@ -64,7 +64,7 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { | @@ -64,7 +64,7 @@ $('.cart-goods').on('touchstart', '.checkbox', function() { | ||
64 | id = $this.closest('.shopping-cart-good').data('id'), | 64 | id = $this.closest('.shopping-cart-good').data('id'), |
65 | url; | 65 | url; |
66 | 66 | ||
67 | - if ($this.closest('.put-in-favorite')) { | 67 | + if ($this.closest('.put-in-favorite').length > 0) { |
68 | 68 | ||
69 | //移入收藏夹 | 69 | //移入收藏夹 |
70 | url = '/shoppingCart/col'; | 70 | url = '/shoppingCart/col'; |
-
Please register or login to post a comment