aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-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', '');