Update to latest Leaflet-hash plugin

This commit is contained in:
Tom Hughes 2013-11-18 17:36:09 +00:00
parent 214ff28cd9
commit f3895c8fab

View file

@ -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);