]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/5470'
authorTom Hughes <tom@compton.nu>
Sun, 5 Jan 2025 16:17:20 +0000 (16:17 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 5 Jan 2025 16:17:20 +0000 (16:17 +0000)
app/assets/javascripts/index/history.js

index c6ba0c2edc9831853eedfec9f533531d71d5f341..ae8f027ed8727586f2b48d317f473f6fc8f1fe67 100644 (file)
@@ -164,6 +164,7 @@ OSM.History = function (map) {
   page.unload = function () {
     map.removeLayer(group);
     map.off("moveend", update);
+    map.off("zoomend", updateBounds);
   };
 
   return page;