From 8bacf9858a6d0c021b51915e688a549a00be32a7 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 22 Apr 2015 15:13:48 -0400 Subject: [PATCH] Exclude `barrier` from areaKeys Because like the others, they are generally lines but can occasionally be areas or lines --- js/id/presets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/presets.js b/js/id/presets.js index f365202b4..858cbc834 100644 --- a/js/id/presets.js +++ b/js/id/presets.js @@ -53,7 +53,7 @@ iD.presets = function() { // and the subkeys form the blacklist. all.areaKeys = function() { var areaKeys = {}, - ignore = ['highway', 'footway', 'railway', 'type'], + ignore = ['barrier', 'highway', 'footway', 'railway', 'type'], presets = _.reject(all.collection, 'suggestion'); // whitelist