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
This commit is contained in:
Bryan Housel
2017-07-16 11:22:27 -04:00
parent ec4b00b7e1
commit fbff5195e0

View File

@@ -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