Commit 5d3fb35c authored by Riyad Preukschas's avatar Riyad Preukschas

Rename JS behaviors

parent 918dc873
$ ->
$("body").on "click", ".js-details-target", ->
container = $(@).closest ".js-details-container"
container = $(@).closest(".js-details-container")
container.toggleClass "open"
container.toggleClass("open")
$ ->
$("body").on "click", ".js-toggler-target", ->
container = $(@).closest ".js-toggler-container"
container = $(@).closest(".js-toggler-container")
container.toggleClass "on"
container.toggleClass("on")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment