Minor refactor and implement foundation toggler

This commit is contained in:
Carlos Ruiz
2017-09-21 23:09:04 +02:00
parent c9ce560380
commit dc2e2a0944
4 changed files with 5 additions and 18 deletions

View File

@@ -1,13 +1,8 @@
App.Legislation =
initialize: ->
$('#js-toggle-debate').on
click: ->
$('#debate-show').toggle()
$('#js-toggle-small-debate').on
click: ->
$('#debate-show').toggle()
$(this).find($('span')).toggleClass('icon-angle-up')
$('form#new_legislation_answer input.button').hide()