diff --git a/app/assets/javascripts/locale-box.coffee b/app/assets/javascripts/locale-box.coffee index 47ec3e39..a510575a 100644 --- a/app/assets/javascripts/locale-box.coffee +++ b/app/assets/javascripts/locale-box.coffee @@ -1,3 +1,4 @@ $(document).on 'click', '#locale-switch', (event) -> event.preventDefault() $('#locales-panel').slideToggle() + $("html, body").animate({ scrollTop: $(document).height() }, 1000)