Line 545: | Line 545: | ||
<script> | <script> | ||
function checkScroll(){ | function checkScroll(){ | ||
− | var startY = window.innerHeight; //The point where the navbar changes in px | + | var startY = window.innerHeight + 50; //The point where the navbar changes in px |
if($(window).scrollTop() > startY){ | if($(window).scrollTop() > startY){ |
Revision as of 15:34, 24 August 2016