Fix cycleway field to appear if "cycleway" tag present but not "cycleway:left" nor "cycleway:right" (close #5756)

This commit is contained in:
Quincy Morgan
2019-01-25 08:39:15 -05:00
parent 5eda112bfa
commit decba8f215
5 changed files with 12 additions and 4 deletions
+2 -1
View File
@@ -34,9 +34,10 @@ export function uiFieldCycleway(field, context) {
.attr('class', 'labeled-inputs')
.merge(div);
var keys = ['cycleway:left', 'cycleway:right'];
items = div.selectAll('li')
.data(field.keys);
.data(keys);
var enter = items.enter()
.append('li')