app/views/rails_db/tables/show.js.erb in rails_db-0.6 vs app/views/rails_db/tables/show.js.erb in rails_db-0.7
- old
+ new
@@ -5,6 +5,8 @@
$('.sidebar_table').removeClass('selected');
$('.sidebar_table_<%= @table.name %>').addClass('selected');
stickyFooter();
-$(document).foundation('reflow');
\ No newline at end of file
+$(document).foundation('reflow');
+
+$(document).scrollTop(0);