mirror of
https://github.com/Xevion/old.xevion.github.io.git
synced 2025-12-06 15:15:39 -06:00
fix firefox animate bug
This commit is contained in:
@@ -22,7 +22,7 @@ $(function() {
|
||||
|
||||
|
||||
function smoothScroll(target) {
|
||||
$('body').animate({ 'scrollTop': target.offset().top + 50 }, 500);
|
||||
$('body, html').animate({ 'scrollTop': target.offset().top + 50 }, 500);
|
||||
}
|
||||
|
||||
$('.scroll-down').on('click', function(ev) {
|
||||
|
||||
Reference in New Issue
Block a user