mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
Fix namespaces and unbinding
This commit is contained in:
@@ -131,7 +131,7 @@ iD.modes.Select = function(entity, initial) {
|
||||
}
|
||||
|
||||
surface.on('click.select', click)
|
||||
.on('dblclick.browse', dblclick);
|
||||
.on('dblclick.select', dblclick);
|
||||
|
||||
keybinding.on('⌫', remove);
|
||||
|
||||
@@ -169,7 +169,9 @@ iD.modes.Select = function(entity, initial) {
|
||||
|
||||
keybinding.off();
|
||||
|
||||
surface.on("click.select", null);
|
||||
surface.on('click.select', null)
|
||||
.on('dblclick.select', null);
|
||||
|
||||
mode.history.on('change.entity-undone', null);
|
||||
|
||||
surface.selectAll(".selected")
|
||||
|
||||
Reference in New Issue
Block a user