no inspect button for preset categories

fixes #1100
This commit is contained in:
Ansis Brammanis
2013-03-21 12:27:05 -04:00
parent 345283e596
commit 8f35501cda
2 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
"geometry": "line",
"icon": "highway",
"id": "Road",
"icon": "category-roads",
"members": [
"highway/residential",
"highway/motorway",

View File

@@ -286,7 +286,10 @@ iD.ui.PresetGrid = function(context, entity) {
.attr('class','label')
.text(name);
entered.append('button')
entered.filter(function(d) {
return !d.members;
})
.append('button')
.attr('tabindex', -1)
.attr('class', 'preset-help')
.on('click', helpClick, selection)