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

6 lines
143 B
CoffeeScript
Raw Normal View History

2012-11-22 02:08:53 +01:00
$ ->
$("body").on "click", ".js-details-target", ->
container = $(@).closest(".js-details-container")
container.toggleClass("open")