Adjust formatting and increment version

This commit is contained in:
ines 2017-02-08 21:33:22 +01:00
parent c63bf3fc94
commit 1b8719bf9a
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@
}, },
"V_CSS": "1.15", "V_CSS": "1.15",
"V_JS": "1.0", "V_JS": "1.1",
"DEFAULT_SYNTAX": "python", "DEFAULT_SYNTAX": "python",
"ANALYTICS": "UA-58931649-1", "ANALYTICS": "UA-58931649-1",
"MAILCHIMP": { "MAILCHIMP": {

View File

@ -18,7 +18,7 @@
scrollY = newScrollY scrollY = newScrollY
if(scrollUp && !(isNaN(scrollY) || scrollY <= vh)) nav.classList.add(fixedClass) if(scrollUp && !(isNaN(scrollY) || scrollY <= vh)) nav.classList.add(fixedClass)
else if(!scrollUp || (isNaN(scrollY) || scrollY <= vh/2)) nav.classList.remove(fixedClass) else if (!scrollUp || (isNaN(scrollY) || scrollY <= vh/2)) nav.classList.remove(fixedClass)
} }
window.addEventListener('scroll', () => requestAnimationFrame(updateNav)) window.addEventListener('scroll', () => requestAnimationFrame(updateNav))