gitlab-org--gitlab-foss/app/assets/javascripts/behaviors/details_behavior.coffee
2012-12-03 22:51:56 +01:00

5 lines
143 B
CoffeeScript

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