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 | 27 | return |
| 28 | 28 | |
| 29 | 29 | display: -> |
| 30 | − @el.style.display = 'block' | |
| 30 | + @addClass 'show' | |
| 31 | 31 | return |
| 32 | 32 | |
| 33 | 33 | resetDisplay: -> |
| 34 | − @el.style.display = '' unless @el.style.display is 'none' | |
| 34 | + @removeClass 'show' | |
| 35 | 35 | return |
| 36 | 36 | |
| 37 | 37 | showView: (view) -> |