Skip to content

Commit

Permalink
Use pointer events in raw tag editor when supported (re: #5505)
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed May 8, 2020
1 parent e838d06 commit edc3284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ui/sections/raw_tag_editor.js
Expand Up @@ -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

}

Expand Down

0 comments on commit edc3284

Please sign in to comment.