X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ddf6689e9e37b65cdc5739ebd3caf8c5a1fc30f5..c20160d313286739fc14e89162a3afff6ccc906f:/app/assets/javascripts/index/history.js diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index c6ba0c2ed..ae8f027ed 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -164,6 +164,7 @@ OSM.History = function (map) { page.unload = function () { map.removeLayer(group); map.off("moveend", update); + map.off("zoomend", updateBounds); }; return page;