add toggle sidebar functionality
This commit is contained in:
parent
c97bea2cb2
commit
b0614d03f2
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,11 @@
|
|||
class App.TicketZoom extends App.Controller
|
||||
events:
|
||||
'click .sidebar-tabs': 'toggleSidebar'
|
||||
'click .close-sidebar': 'toggleSidebar'
|
||||
|
||||
toggleSidebar: ->
|
||||
@el.find('.ticket-zoom').toggleClass('state--sidebar-hidden')
|
||||
|
||||
constructor: (params) ->
|
||||
super
|
||||
|
||||
|
|
Loading…
Reference in a new issue