Merge branch 'feature/h5detail' of http://git.dev.yoho.cn/web/yohobuy-frontend into feature/h5detail
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -71,7 +71,7 @@ exports.init = function() { | @@ -71,7 +71,7 @@ exports.init = function() { | ||
71 | //scroll to top | 71 | //scroll to top |
72 | if (!isInit) { | 72 | if (!isInit) { |
73 | $('body').animate({ | 73 | $('body').animate({ |
74 | - scrollTop: container.offset().top | 74 | + scrollTop: container.offset().top - (thumbContainer.hasClass('static') ? 0 : thumbContainer.outerHeight()) |
75 | }, 400); | 75 | }, 400); |
76 | } else { | 76 | } else { |
77 | isInit = false; | 77 | isInit = false; |
-
Please register or login to post a comment