diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-06 14:27:56 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-06 14:27:56 +0200 |
commit | 6a338e28b281e30bfa5be788957e86e0de0060f1 (patch) | |
tree | 6b8b4bd9f6c26d78ec1ea082285cb92dcc825630 /view/tpl | |
parent | f3ce5e73feec540b550b3c99b96e3f48ae569e0a (diff) | |
download | volse-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-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 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', ''); |