From c34e19effd0d002b144d67f5e2a75a31309ffc09 Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Thu, 10 Apr 2025 19:53:06 +0200 Subject: [PATCH] Update history.js - Correct function name for updating changeset locations Fixes regression from https://github.com/openstreetmap/openstreetmap-website/commit/f11b38709b6cdf6b837d822f4c1e04f06d65ca71 where changeset highlights disappear after automatically zooming in, do not load at all or are incorrectly scaled when manually zooming (invalid function name). --- app/assets/javascripts/index/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index 058777840..289081ca1 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -237,7 +237,7 @@ OSM.History = function (map) { OSM.router.replace("/history" + window.location.hash); loadFirstChangesets(); } else { - changesetsLayer.updateChangesetsPositions(map); + changesetsLayer.updateChangesetLocations(map); } } -- 2.39.5