From 5fc87fb0a4aa2047d6dced108b10ddba7d6bec13 Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Tue, 5 Feb 2019 20:19:54 +0000 Subject: [PATCH] Pacify eslint (I really need to start running npm test more often before pushing) --- modules/ui/improveOSM_comments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/improveOSM_comments.js b/modules/ui/improveOSM_comments.js index a7b75d7cd..14caa30d7 100644 --- a/modules/ui/improveOSM_comments.js +++ b/modules/ui/improveOSM_comments.js @@ -22,7 +22,7 @@ export function uiImproveOsmComments() { // must retrieve comments from API before they can be displayed services.improveOSM.getComments(_error, function(err, d) { var commentEnter = comments.selectAll('.comment') - .data(_error.comments) + .data(d.comments) .enter() .append('div') .attr('class', 'comment'); @@ -55,7 +55,7 @@ export function uiImproveOsmComments() { .attr('target', '_blank'); } selection - .text(function(d) { return d.username }); + .text(function(d) { return d.username; }); }); metadataEnter