app/assets/javascripts/pages/eu_legislation.js.coffee
$(document).ready ->
$('.show_more a.link').click( (e) ->
historicRows = $(e.target).parent().prev('table').find('tr')
if historicRows.hasClass('hidden')
historicRows.removeClass('hidden')
$(e.target).html('HIDE HISTORY')
else
historicRows.addClass('hidden')
$(e.target).html('SHOW HISTORY')
)