gitlabhq/app/assets/javascripts/behaviours/details_behavior.coffee

6 lines
141 B
CoffeeScript
Raw Normal View History

2012-10-29 18:24:25 +01:00
$ ->
$("body").on "click", ".js-details-target", ->
container = $(@).closest ".js-details-container"
container.toggleClass "open"