aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-06 14:27:56 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-06 14:27:56 +0200
commit6a338e28b281e30bfa5be788957e86e0de0060f1 (patch)
tree6b8b4bd9f6c26d78ec1ea082285cb92dcc825630 /view/tpl
parentf3ce5e73feec540b550b3c99b96e3f48ae569e0a (diff)
downloadvolse-hubzilla-6a338e28b281e30bfa5be788957e86e0de0060f1.tar.gz
volse-hubzilla-6a338e28b281e30bfa5be788957e86e0de0060f1.tar.bz2
volse-hubzilla-6a338e28b281e30bfa5be788957e86e0de0060f1.zip
-1 has issues in some browsers
Diffstat (limited to 'view/tpl')
-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 7972b8e81..e8af6f6dc 100755
--- a/view/tpl/cover_photo_widget.tpl
+++ b/view/tpl/cover_photo_widget.tpl
@@ -35,7 +35,7 @@
});
$(window).scroll(function () {
- if($(window).width() > 755 && $(window).scrollTop() > ($('#cover-photo').height() - 1)) {
+ if($(window).width() > 755 && $(window).scrollTop() > $('#cover-photo').height()) {
$('body').css('cursor', '');
$('.navbar').addClass('fixed-top');
$('main').css('margin-top', '');