mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
Exclude name suggestions from areaKeys (fixes #2435)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user