Permalink
Browse files

no inspect button for preset categories

fixes #1100
  • Loading branch information...
1 parent 345283e commit 8f35501cdaba45d4f822fa12da41a46afddd4661 @ansis ansis committed Mar 21, 2013
Showing with 5 additions and 1 deletion.
  1. +1 −0 data/presets/categories.json
  2. +4 −1 js/id/ui/preset_grid.js
@@ -2,6 +2,7 @@
"geometry": "line",
"icon": "highway",
"id": "Road",
+ "icon": "category-roads",
"members": [
"highway/residential",
"highway/motorway",
View
@@ -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)

0 comments on commit 8f35501

Please sign in to comment.