This commit is contained in:
Jasper van Merle 2018-07-04 15:08:36 +02:00
parent bf116473e7
commit 4b12335b19
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View file

@ -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

View file

@ -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