Use pointer events in raw tag editor when supported (re: #5505)

This commit is contained in:
Quincy Morgan
2020-05-08 15:01:15 -07:00
parent e838d06328
commit edc32849c0
+1 -1
View File
@@ -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
}