mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Use pointer events in raw tag editor when supported (re: #5505)
This commit is contained in:
@@ -279,7 +279,7 @@ export function uiSectionRawTagEditor(id, context) {
|
||||
});
|
||||
|
||||
items.selectAll('button.remove')
|
||||
.on('mousedown', removeTag); // 'click' fires too late - #5878
|
||||
.on(('PointerEvent' in window ? 'pointer' : 'mouse') + 'down', removeTag); // 'click' fires too late - #5878
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user