Update to latest Leaflet-hash plugin
This commit is contained in:
parent
214ff28cd9
commit
f3895c8fab
1 changed files with 2 additions and 2 deletions
4
vendor/assets/leaflet/leaflet.hash.js
vendored
4
vendor/assets/leaflet/leaflet.hash.js
vendored
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue