Show preset grid for untagged features (fixes #1258)

This commit is contained in:
John Firebaugh
2013-04-12 18:15:56 -04:00
parent cf60d344f1
commit 52929b9312
+2 -2
View File
@@ -75,9 +75,9 @@ iD.ui.Inspector = function(context, entity) {
presetLayer.call(presetGrid, preset);
});
var initial = entity.isNew() && _.without(Object.keys(entity.tags), 'area').length === 0;
var tagless = _.without(Object.keys(entity.tags), 'area').length === 0;
if (initial) {
if (tagless) {
panewrap.style('right', '-100%');
presetLayer.call(presetGrid);
} else {