Fixing whitespace.

This commit is contained in:
Alex Hennings
2020-07-09 11:08:15 -04:00
parent a0de2c7706
commit 009f7f2664
+2 -2
View File
@@ -125,8 +125,8 @@ export function uiFeatureList(context) {
var idMatch = q.match(/^(.*[^\w])?(node|n|way|w|relation|r)[^\w]?([0-9]+)([^\w].*)?$/i);
if (idMatch) {
var elemType = idMatch[2][0];
var elemId = idMatch[3];
var elemType = idMatch[2][0];
var elemId = idMatch[3];
result.push({
id: elemType + elemId,
geometry: elemType === 'n' ? 'point' : elemType === 'w' ? 'line' : 'relation',