mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Remove listeners when we're done
This commit is contained in:
@@ -50,6 +50,7 @@ iD.modes.Browse = function() {
|
||||
};
|
||||
|
||||
mode.exit = function() {
|
||||
mode.map.surface.on('mousedown.latedrag', null);
|
||||
mode.map.surface.on('click.browse', null);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user