mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 22:03:37 +02:00
Add preventDefault for click events (fixes #1771)
This commit is contained in:
@@ -2,6 +2,7 @@ iD.ui.RawMemberEditor = function(context) {
|
||||
var id;
|
||||
|
||||
function selectMember(d) {
|
||||
d3.event.preventDefault();
|
||||
context.enter(iD.modes.Select(context, [d.id]));
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ iD.ui.RawMembershipEditor = function(context) {
|
||||
var id, showBlank;
|
||||
|
||||
function selectRelation(d) {
|
||||
d3.event.preventDefault();
|
||||
context.enter(iD.modes.Select(context, [d.relation.id]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user