round up height
This commit is contained in:
parent
34a16e0ab9
commit
4a2fb8336e
@ -48,7 +48,7 @@
|
||||
});
|
||||
|
||||
function slideUpCover() {
|
||||
$('html, body').animate({scrollTop: $('#cover-photo').height() + 1 + 'px' });
|
||||
$('html, body').animate({scrollTop: Math.ceil($('#cover-photo').height()) + 'px' });
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user