Fixes #592.
Showing the changes to assets/javascripts (1 of 2 files). Show all
Unified · Split
| @@ -27,11 +27,11 @@ class app.views.Sidebar extends app.View · 26 unmodified lines | |||
| 27 | return | 27 | return |
| 28 | 28 | ||
| 29 | display: -> | 29 | display: -> |
| 30 | @el.style.display = 'block' | 30 | @addClass 'show' |
| 31 | return | 31 | return |
| 32 | 32 | ||
| 33 | resetDisplay: -> | 33 | resetDisplay: -> |
| 34 | @el.style.display = '' unless @el.style.display is 'none' | 34 | @removeClass 'show' |
| 35 | return | 35 | return |
| 36 | 36 | ||
| 37 | showView: (view) -> | 37 | showView: (view) -> |