hide preset descriptions when updating grid

This commit is contained in:
Ansis Brammanis
2013-03-20 12:49:02 -04:00
parent e988ffea14
commit febe8dc224

View File

@@ -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);