From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Thu, 10 Apr 2025 17:53:06 +0000 (+0200) Subject: Update history.js - Correct function name for updating changeset locations X-Git-Tag: live~44^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/c34e19effd0d002b144d67f5e2a75a31309ffc09?ds=sidebyside 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). --- 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); } }