mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-30 07:27:54 +02:00
Skip buttons when tabbing
This commit is contained in:
@@ -78,6 +78,7 @@ iD.ui.preset = function(context, entity) {
|
||||
|
||||
label.append('button')
|
||||
.attr('class', 'fr icon undo modified-icon')
|
||||
.attr('tabindex', -1)
|
||||
.on('click', function(field) {
|
||||
var original = context.graph().base().entities[entity.id];
|
||||
var t = {};
|
||||
@@ -89,6 +90,7 @@ iD.ui.preset = function(context, entity) {
|
||||
|
||||
label.append('button')
|
||||
.attr('class', 'fr icon inspect')
|
||||
.attr('tabindex', -1)
|
||||
.on('click', function(field) {
|
||||
selection.selectAll('div.tag-help')
|
||||
.style('display', 'none');
|
||||
|
||||
Reference in New Issue
Block a user