Remove listeners when we're done

This commit is contained in:
Tom MacWright
2012-12-06 17:55:26 -05:00
parent 6e9d9ba274
commit 3b7af751f4
+1
View File
@@ -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);
};