mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Adjust formatting and increment version
This commit is contained in:
parent
c63bf3fc94
commit
1b8719bf9a
|
@ -55,7 +55,7 @@
|
|||
},
|
||||
|
||||
"V_CSS": "1.15",
|
||||
"V_JS": "1.0",
|
||||
"V_JS": "1.1",
|
||||
"DEFAULT_SYNTAX": "python",
|
||||
"ANALYTICS": "UA-58931649-1",
|
||||
"MAILCHIMP": {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
scrollY = newScrollY
|
||||
|
||||
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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user