Retrospring/app/assets/javascripts/locale-box.coffee

5 lines
183 B
CoffeeScript

$(document).on 'click', '#locale-switch', (event) ->
event.preventDefault()
$('#locales-panel').slideToggle()
$("html, body").animate({ scrollTop: $(document).height() }, 1000)