Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused

  • Loading branch information...
commit 222b948619e65d7e8c632b51dbb2f778cc90b79c 1 parent 160f3e7
@jfirebaugh jfirebaugh authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 js/id/ui/preset_icon.js
View
8 js/id/ui/preset_icon.js
@@ -3,12 +3,8 @@ iD.ui.PresetIcon = function(geometry) {
selection.append('div')
.attr('class', function(preset) {
var s = 'preset-icon-fill ' + geometry;
- if (preset.members) {
- s += 'category';
- } else {
- for (var i in preset.tags) {
- s += ' tag-' + i + ' tag-' + i + '-' + preset.tags[i];
- }
+ for (var i in preset.tags) {
+ s += ' tag-' + i + ' tag-' + i + '-' + preset.tags[i];
}
return s;
});
Please sign in to comment.
Something went wrong with that request. Please try again.