fixed bugs in goods detail page
Showing
2 changed files
with
2 additions
and
0 deletions
@@ -12,6 +12,7 @@ var likeHammer = new Hammer(document.getElementById('likeBtn')); | @@ -12,6 +12,7 @@ var likeHammer = new Hammer(document.getElementById('likeBtn')); | ||
12 | likeHammer.on('tap', function(e) { | 12 | likeHammer.on('tap', function(e) { |
13 | var productId = $('#productId').val(), | 13 | var productId = $('#productId').val(), |
14 | opt; | 14 | opt; |
15 | + | ||
15 | var $this = $(this); | 16 | var $this = $(this); |
16 | 17 | ||
17 | if ($this.hasClass('liked')) { | 18 | if ($this.hasClass('liked')) { |
-
Please register or login to post a comment