diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-07-15 14:23:10 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-07-15 14:23:10 +0200 |
commit | 4a2fb8336e71557757f13136ae62639cc9732c22 (patch) | |
tree | 1113a8bbfcb9c002c660ea50652ae480ca4e8dd1 /view | |
parent | 34a16e0ab9d26097a8b62ddb3e75dc9a74c64b55 (diff) | |
download | volse-hubzilla-4a2fb8336e71557757f13136ae62639cc9732c22.tar.gz volse-hubzilla-4a2fb8336e71557757f13136ae62639cc9732c22.tar.bz2 volse-hubzilla-4a2fb8336e71557757f13136ae62639cc9732c22.zip |
round up height
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/cover_photo_widget.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl index 5e97d3773..4e210a300 100755 --- a/view/tpl/cover_photo_widget.tpl +++ b/view/tpl/cover_photo_widget.tpl @@ -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> |