agenda-libre-ruby/app/assets/javascripts/moderations.js.coffee

6 lines
262 B
CoffeeScript
Raw Normal View History

$(document).on 'turbolinks:load', ->
2017-05-22 16:42:21 +02:00
$('body.moderations .radios label').click ->
$('body.moderations #event_reason').parent().slideUp()
2017-05-22 16:42:21 +02:00
$('body.moderations .radios label:last-child').click ->
$('body.moderations #event_reason').parent().slideDown()