X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/18cd0b99cd15c527f01a768f15d3a144830e2ef1..6f074c9f203c79766ee1719afc10cfc457215eb6:/app/views/shared/_pagination.html.erb diff --git a/app/views/shared/_pagination.html.erb b/app/views/shared/_pagination.html.erb index 3dbce6f98..c8eddcd37 100644 --- a/app/views/shared/_pagination.html.erb +++ b/app/views/shared/_pagination.html.erb @@ -7,7 +7,7 @@ <% end %> <% if newer_id -%>
  • - <%= link_to newer_link_content, @params.merge(:before => nil, :after => newer_id), :class => link_class %> + <%= link_to newer_link_content, @params.merge(:before => nil, :after => newer_id), :class => link_class, :data => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" } %>
  • <% else -%>
  • @@ -21,7 +21,7 @@ <% end %> <% if older_id -%>
  • - <%= link_to older_link_content, @params.merge(:before => older_id, :after => nil), :class => link_class %> + <%= link_to older_link_content, @params.merge(:before => older_id, :after => nil), :class => link_class, :data => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" } %>
  • <% else -%>