mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 09:42:56 +00:00
Cancel throttled hash updates in hash.off()
This commit is contained in:
@@ -74,6 +74,8 @@ iD.behavior.Hash = function(context) {
|
||||
}
|
||||
|
||||
hash.off = function() {
|
||||
throttledUpdate.cancel();
|
||||
|
||||
context.map()
|
||||
.on('move.hash', null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user