From f3895c8fabbf16b34c69bc7a1a83b773ff61b3e6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 18 Nov 2013 17:36:09 +0000 Subject: [PATCH] Update to latest Leaflet-hash plugin --- vendor/assets/leaflet/leaflet.hash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5