<% content_for :auto_discovery_link_tag do -%>
<% unless params[:friends] or params[:nearby] -%>
- <%= auto_discovery_link_tag :atom, @params.merge(:max_id => nil, :xhr => nil, :action => :feed) %>
+ <%= auto_discovery_link_tag :atom, @params.to_h.merge(:max_id => nil, :xhr => nil, :action => :feed) %>
<% end -%>
<% end -%>
<%= render "sidebar_header", :title => @heading %>
-<div class="changesets">
- <%= image_tag "searching.gif", :class => "loader" %>
+<div class="changesets mx-n3">
+ <div class="text-center loader">
+ <div class="spinner-border" role="status">
+ <span class="visually-hidden"><%= t("browse.start_rjs.loading") %></span>
+ </div>
+ </div>
</div>