mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
@@ -299,8 +299,8 @@ export default {
|
||||
// A few OSM keys expect values to contain uppercase values (see #3377).
|
||||
// This is not an exhaustive list (e.g. `name` also has uppercase values)
|
||||
// but these are the fields where taginfo value lookup is most useful.
|
||||
var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|listed_status|booth|rating|stars|:output|_hours|_times|manufacturer/;
|
||||
var allowUpperCase = (params.key.match(re) !== null);
|
||||
var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|listed_status|booth|rating|stars|:output|_hours|_times|_ref|manufacturer/;
|
||||
var allowUpperCase = re.test(params.key);
|
||||
var f = filterValues(allowUpperCase);
|
||||
|
||||
var result = d.data.filter(f).map(valKeyDescription);
|
||||
|
||||
Reference in New Issue
Block a user