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

5 lines
183 B
CoffeeScript
Raw Normal View History

2015-06-21 00:03:29 -07:00
$(document).on 'click', '#locale-switch', (event) ->
event.preventDefault()
$('#locales-panel').slideToggle()
2015-06-21 08:18:30 -07:00
$("html, body").animate({ scrollTop: $(document).height() }, 1000)