mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 09:42:56 +00:00
hide preset descriptions when updating grid
This commit is contained in:
@@ -233,6 +233,8 @@ iD.ui.PresetGrid = function(context, entity) {
|
||||
show_more
|
||||
.style('display', (selection.data()[0].length > limit) ? 'block' : 'none');
|
||||
|
||||
selection.selectAll('.preset-inspect').remove();
|
||||
|
||||
var entries = selection
|
||||
.selectAll('div.grid-entry-wrap')
|
||||
.data(function(d) { return d.slice(0, limit); }, name);
|
||||
|
||||
Reference in New Issue
Block a user