Scroll to top after having given feedback

This commit is contained in:
gregoirenovel 2018-08-27 12:00:08 +02:00
parent 62878f9c5a
commit c81206f4d1

View file

@ -1,2 +1,3 @@
window.scroll({ top: 0, left: 0, behavior: 'smooth' });
<%= remove_element('#user-satisfaction') %>
<%= render_flash %>