5 lines
141 B
CoffeeScript
5 lines
141 B
CoffeeScript
$ ->
|
|
$("body").on "click", ".js-toggler-target", ->
|
|
container = $(@).closest(".js-toggler-container")
|
|
|
|
container.toggleClass("on")
|