mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
add category class to preset grid
This commit is contained in:
@@ -191,6 +191,7 @@ iD.ui.PresetGrid = function(context, entity) {
|
||||
var entered = entries.enter()
|
||||
.append('div')
|
||||
.attr('class','grid-button-wrap col4 grid-entry-wrap')
|
||||
.classed('category', function(d) { return !!d.members; })
|
||||
.classed('current', function(d) { return d === preset; })
|
||||
.append('button')
|
||||
.attr('class', 'grid-entry')
|
||||
|
||||
Reference in New Issue
Block a user