Line 1,520: | Line 1,520: | ||
//nav bar to stick. | //nav bar to stick. | ||
console.log($(window).scrollTop()) | console.log($(window).scrollTop()) | ||
− | + | ||
if($(window).width() > 1250){ | if($(window).width() > 1250){ | ||
Line 1,530: | Line 1,530: | ||
},0); | },0); | ||
} | } | ||
− | + | ||
}) | }) | ||
}); | }); | ||
Line 1,551: | Line 1,551: | ||
//nav bar to stick. | //nav bar to stick. | ||
console.log($(window).scrollTop()) | console.log($(window).scrollTop()) | ||
− | + | ||
if($(window).width() > 1250){ | if($(window).width() > 1250){ | ||
setTimeout(function(){ | setTimeout(function(){ | ||
Line 1,558: | Line 1,558: | ||
},0); | },0); | ||
} | } | ||
− | + | ||
}) | }) | ||
}) | }) |
Revision as of 16:17, 17 October 2016