-1 has issues in some browsers
This commit is contained in:
parent
f3ce5e73fe
commit
6a338e28b2
@ -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', '');
|
||||
|
Reference in New Issue
Block a user