agenda-libre-ruby/app/assets/javascripts/moderations.js.coffee
2017-05-22 16:42:21 +02:00

6 lines
262 B
CoffeeScript

$(document).on 'turbolinks:load', ->
$('body.moderations .radios label').click ->
$('body.moderations #event_reason').parent().slideUp()
$('body.moderations .radios label:last-child').click ->
$('body.moderations #event_reason').parent().slideDown()