History

Fix sidebar not resizable when set to show/hide automatically

Fixes #592.

Thibaut Courouble committed 9 years ago

Commit 7980abd1 parent 639ca702 files · +5 −5Browse files

Showing the changes to assets/javascripts (1 of 2 files). Show all

Unified · Split

assets/javascripts/views/sidebar/sidebar.coffee+2−2
@@ -27,11 +27,11 @@ class app.views.Sidebar extends app.View · 26 unmodified lines
27 return27 return
28 28
29 display: ->29 display: ->
30 @el.style.display = 'block'30 @addClass 'show'
31 return31 return
32 32
33 resetDisplay: ->33 resetDisplay: ->
34 @el.style.display = '' unless @el.style.display is 'none'34 @removeClass 'show'
35 return35 return
36 36
37 showView: (view) ->37 showView: (view) ->