|
@@ -29,8 +29,12 @@ function highlightMainItem() { |
|
@@ -29,8 +29,12 @@ function highlightMainItem() { |
29
|
var $mainItem = $('.filter-body .classify');
|
29
|
var $mainItem = $('.filter-body .classify');
|
30
|
|
30
|
|
31
|
$mainItem.on('touchstart', '.shower', function() {
|
31
|
$mainItem.on('touchstart', '.shower', function() {
|
|
|
32
|
+ var bpIdData = $(this).attr('data-bp-id') || '';
|
|
|
33
|
+
|
32
|
$mainItem.removeClass('highlight');
|
34
|
$mainItem.removeClass('highlight');
|
33
|
$(this).addClass('highlight');
|
35
|
$(this).addClass('highlight');
|
|
|
36
|
+
|
|
|
37
|
+ $(document).trigger('shouldSendBpData', [bpIdData]);
|
34
|
}).on('touchend touchcancel', '.shower', function() {
|
38
|
}).on('touchend touchcancel', '.shower', function() {
|
35
|
$(this).removeClass('highlight');
|
39
|
$(this).removeClass('highlight');
|
36
|
});
|
40
|
});
|