aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-07-15 14:23:10 +0200
committerMario Vavti <mario@mariovavti.com>2016-07-15 14:23:10 +0200
commit4a2fb8336e71557757f13136ae62639cc9732c22 (patch)
tree1113a8bbfcb9c002c660ea50652ae480ca4e8dd1
parent34a16e0ab9d26097a8b62ddb3e75dc9a74c64b55 (diff)
downloadvolse-hubzilla-4a2fb8336e71557757f13136ae62639cc9732c22.tar.gz
volse-hubzilla-4a2fb8336e71557757f13136ae62639cc9732c22.tar.bz2
volse-hubzilla-4a2fb8336e71557757f13136ae62639cc9732c22.zip
round up height
-rwxr-xr-xview/tpl/cover_photo_widget.tpl2
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>