Showing
1 changed file
with
2 additions
and
2 deletions
@@ -16,7 +16,7 @@ var searchH = $('.newbrand-search').outerHeight(), | @@ -16,7 +16,7 @@ var searchH = $('.newbrand-search').outerHeight(), | ||
16 | headerH = $('.yoho-header').outerHeight(), | 16 | headerH = $('.yoho-header').outerHeight(), |
17 | brandSwipe = parseInt(searchH) + parseInt(headerH) - 1; | 17 | brandSwipe = parseInt(searchH) + parseInt(headerH) - 1; |
18 | 18 | ||
19 | -var myHammer, searchBtnHammer, clearTextHammer; | 19 | +var searchBtnHammer, clearTextHammer; |
20 | 20 | ||
21 | swiper = new Swiper('.swiper-container', { | 21 | swiper = new Swiper('.swiper-container', { |
22 | lazyLoading: true, | 22 | lazyLoading: true, |
@@ -52,7 +52,7 @@ if ($brandList.length > 0) { | @@ -52,7 +52,7 @@ if ($brandList.length > 0) { | ||
52 | }); | 52 | }); |
53 | } | 53 | } |
54 | 54 | ||
55 | -$('#right-bar .con').find('b').unbind().on('touchstart', function() { | 55 | +$('#right-bar .con').find('b').unbind().on('touchstart', function(e) { |
56 | var index = $(this).index(); | 56 | var index = $(this).index(); |
57 | 57 | ||
58 | if ($('.bar-' + index).size() > 0) { | 58 | if ($('.bar-' + index).size() > 0) { |
-
Please register or login to post a comment