Exclude name suggestions from areaKeys (fixes #2435)

This commit is contained in:
John Firebaugh
2014-11-01 11:42:53 -04:00
parent 8ca46516e4
commit 59c39b5d17
+2
View File
@@ -55,6 +55,8 @@ iD.presets = function() {
var areaKeys = {};
all.collection.forEach(function(d) {
if (d.suggestion) return;
for (var key in d.tags) break;
if (!key) return;
var value = d.tags[key];