mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 16:49:40 +02:00
Access field should allow "yes" placeholders to be overridden (#2213)
This commit is contained in:
@@ -141,11 +141,7 @@ iD.ui.preset.access = function(field) {
|
||||
_.forEach(placeholders[tags.highway], function(value, key) {
|
||||
items.selectAll('#preset-input-access-' + key)
|
||||
.attr('placeholder', function() {
|
||||
if (value === 'yes') {
|
||||
return tags.access ? tags.access : value;
|
||||
} else {
|
||||
return value;
|
||||
}
|
||||
return (tags.access && value === 'yes') ? tags.access : value;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user