fix scrollTop offset

parent 69b6ca3a
...@@ -2,7 +2,7 @@ $(document).ready(function() { ...@@ -2,7 +2,7 @@ $(document).ready(function() {
$("a.toggle_bottom").click(function() { $("a.toggle_bottom").click(function() {
var a = $(this); var a = $(this);
$("html, body").animate({ scrollTop: $(a.attr('href')).position().top - 100 }, "slow"); $("html, body").animate({ scrollTop: $(a.attr('href')).position().top - 50 }, "slow");
return false; return false;
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment