mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Fix cycleway field to appear if "cycleway" tag present but not "cycleway:left" nor "cycleway:right" (close #5756)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user