gitlabhq/app/assets/javascripts/behaviours/details_behavior.coffee
2012-12-03 22:51:55 +01:00

6 lines
141 B
CoffeeScript

$ ->
$("body").on "click", ".js-details-target", ->
container = $(@).closest ".js-details-container"
container.toggleClass "open"