Showing
1 changed file
with
1 additions
and
1 deletions
@@ -64,7 +64,7 @@ exports.init = function() { | @@ -64,7 +64,7 @@ exports.init = function() { | ||
64 | //scroll to top | 64 | //scroll to top |
65 | if (!isInit) { | 65 | if (!isInit) { |
66 | $('body').animate({ | 66 | $('body').animate({ |
67 | - scrollTop: container.offset().top | 67 | + scrollTop: container.offset().top - (thumbContainer.hasClass('static') ? 0 : thumbContainer.outerHeight()) |
68 | }, 400); | 68 | }, 400); |
69 | } else { | 69 | } else { |
70 | isInit = false; | 70 | isInit = false; |
-
Please register or login to post a comment