From fbff5195e0f7644c4d149eaf3b98bdb35983aa25 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sun, 16 Jul 2017 11:22:27 -0400 Subject: [PATCH] Append capture date instead of inserting it Messing with DOM node order seems to break the Mapillary viewer's ability to correctly set the user and photo links --- modules/services/mapillary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/mapillary.js b/modules/services/mapillary.js index a21a5110f..514e9d771 100644 --- a/modules/services/mapillary.js +++ b/modules/services/mapillary.js @@ -506,10 +506,10 @@ export default { var capturedAt = attribution.selectAll('.captured-at'); if (capturedAt.empty()) { attribution - .insert('span', 'a') + .append('span') .text('|'); capturedAt = attribution - .insert('span', 'span') + .append('span') .attr('class', 'captured-at'); } capturedAt