You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
agenda-libre-ruby/app/assets/javascripts/moderations.js.coffee

6 lines
269 B

$(document).ready ->
$('body.moderations .field.closer input[type=radio]').click ->
$('body.moderations #reason_text').parent().slideUp()
$('body.moderations .field.opener input[type=radio]').click ->
$('body.moderations #reason_text').parent().slideDown()