mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
7 lines
173 B
CoffeeScript
7 lines
173 B
CoffeeScript
Darkswarm.directive "offcanvas", ->
|
|
restrict: "A"
|
|
|
|
link: (scope, el, attr) ->
|
|
el.find(".left-off-canvas-toggle").bind 'click', ->
|
|
el.toggleClass 'move-right'
|