Showing
3 changed files
with
4 additions
and
0 deletions
@@ -6257,8 +6257,12 @@ function highlightMainItem() { | @@ -6257,8 +6257,12 @@ function highlightMainItem() { | ||
6257 | var $mainItem = $('.filter-body .classify'); | 6257 | var $mainItem = $('.filter-body .classify'); |
6258 | 6258 | ||
6259 | $mainItem.on('touchstart', '.shower', function() { | 6259 | $mainItem.on('touchstart', '.shower', function() { |
6260 | + var bpIdData = $(this).attr('data-bp-id') || ''; | ||
6261 | + | ||
6260 | $mainItem.removeClass('highlight'); | 6262 | $mainItem.removeClass('highlight'); |
6261 | $(this).addClass('highlight'); | 6263 | $(this).addClass('highlight'); |
6264 | + | ||
6265 | + $(document).trigger('shouldSendBpData', [bpIdData]); | ||
6262 | }).on('touchend touchcancel', '.shower', function() { | 6266 | }).on('touchend touchcancel', '.shower', function() { |
6263 | $(this).removeClass('highlight'); | 6267 | $(this).removeClass('highlight'); |
6264 | }); | 6268 | }); |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment