X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/57e711d3434664568998946d90ffef0a5f948130..049093c5b4ccd1b6f7f5d566eff2c04083e6df4a:/vendor/assets/leaflet/leaflet.hash.js?ds=sidebyside diff --git a/vendor/assets/leaflet/leaflet.hash.js b/vendor/assets/leaflet/leaflet.hash.js index 26bb8abf6..70a100777 100644 --- a/vendor/assets/leaflet/leaflet.hash.js +++ b/vendor/assets/leaflet/leaflet.hash.js @@ -65,7 +65,7 @@ } }, - remove: function() { + removeFrom: function(map) { if (this.changeTimeout) { clearTimeout(this.changeTimeout); } @@ -157,6 +157,6 @@ this._hash = L.hash(this); }; L.Map.prototype.removeHash = function() { - this._hash.remove(); + this._hash.removeFrom(); }; })(window);