mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Fix #829
This commit is contained in:
parent
bf116473e7
commit
4b12335b19
2 changed files with 3 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -8,3 +8,5 @@ public/fonts
|
||||||
public/docs/**/*
|
public/docs/**/*
|
||||||
!public/docs/docs.json
|
!public/docs/docs.json
|
||||||
!public/docs/**/index.json
|
!public/docs/**/index.json
|
||||||
|
.idea
|
||||||
|
log
|
||||||
|
|
|
@ -28,7 +28,7 @@ class app.views.Sidebar extends app.View
|
||||||
|
|
||||||
app.on 'ready', @onReady
|
app.on 'ready', @onReady
|
||||||
|
|
||||||
$.on document.documentElement, 'mouseleave', (event) => @display() if event.clientX < 10
|
$.on document.documentElement, 'mouseleave', (event) => @display() unless event.clientX <= 0
|
||||||
$.on document.documentElement, 'mouseenter', => @resetDisplay(forceNoHover: false)
|
$.on document.documentElement, 'mouseenter', => @resetDisplay(forceNoHover: false)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue