mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 03:35:13 +00:00
round up height
This commit is contained in:
parent
34a16e0ab9
commit
4a2fb8336e
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
function slideUpCover() {
|
function slideUpCover() {
|
||||||
$('html, body').animate({scrollTop: $('#cover-photo').height() + 1 + 'px' });
|
$('html, body').animate({scrollTop: Math.ceil($('#cover-photo').height()) + 'px' });
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue