From 4a7fa802250ce468fb32e3fa5aa10adcf057d015 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Thu, 15 Feb 2018 08:31:31 -0500 Subject: [PATCH] eslint --- modules/svg/gpx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/svg/gpx.js b/modules/svg/gpx.js index 9940395fb..30e9be404 100644 --- a/modules/svg/gpx.js +++ b/modules/svg/gpx.js @@ -110,7 +110,7 @@ export function svgGpx(projection, context, dispatch) { .attr('class', textClass) .merge(labels) .text(function(d) { - if(d.properties) { + if (d.properties) { return d.properties.desc || d.properties.name; } return null;