Merge remote-tracking branch 'origin/hotfix/single2' into feature/registerYas
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -127,6 +127,8 @@ var singleDay = { | @@ -127,6 +127,8 @@ var singleDay = { | ||
127 | $swiperTab.on('click', function() { | 127 | $swiperTab.on('click', function() { |
128 | var index = $(this).index(); | 128 | var index = $(this).index(); |
129 | 129 | ||
130 | + $('body').scrollTop(0); | ||
131 | + | ||
130 | $swiperTab.removeClass('active').eq(index).addClass('active'); | 132 | $swiperTab.removeClass('active').eq(index).addClass('active'); |
131 | 133 | ||
132 | if (self.$productTab.eq(index).find('li').length > 0) { | 134 | if (self.$productTab.eq(index).find('li').length > 0) { |
-
Please register or login to post a comment