Skip buttons when tabbing

This commit is contained in:
John Firebaugh
2013-03-25 12:21:11 -07:00
parent 770fe4b9aa
commit 1ce383e17f
+2
View File
@@ -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');