From b13daa248b27c3918fd71958e1e1c9d56ed27232 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 2 Apr 2025 07:38:37 +0300 Subject: [PATCH] Remove custom history loader css --- app/assets/javascripts/index/history.js | 4 ++-- app/assets/stylesheets/common.scss | 5 ----- app/views/changesets/index.html.erb | 4 ++-- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index 47b8d098d..50d3f70b9 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -173,8 +173,8 @@ OSM.History = function (map) { const div = $(this).parents(".changeset_more"); - $(this).closest(".pagination").addClass("invisible"); - div.find(".loader").show(); + div.find(".pagination").addClass("invisible"); + div.find("[hidden]").prop("hidden", false); const data = new URLSearchParams(); diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 27d58f84e..5d142eb4f 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -620,11 +620,6 @@ tr.turn { z-index: 2; /* needs to be higher than Bootstrap's stretched link ::after z-index */ } } - - .changeset_more .loader { - display: none; - width: 100%; - } } /* Rules for the browse sidebar */ diff --git a/app/views/changesets/index.html.erb b/app/views/changesets/index.html.erb index b906ebdef..cd59d14c8 100644 --- a/app/views/changesets/index.html.erb +++ b/app/views/changesets/index.html.erb @@ -1,6 +1,6 @@ <% if @newer_changesets_id %>
-
+