diff --git a/data/tooltip.js b/data/tooltip.js index f1c8120..4623797 100644 --- a/data/tooltip.js +++ b/data/tooltip.js @@ -8,7 +8,7 @@ function showTooltip(event){ tooltip.style.display = 'inline-block'; var d = svgdataset(event.target); console.error(event, event.target, event.target.dataset); - tooltip.innerHTML = d.source + ' -> ' + d.target + '
' + d.timestamp + ' (×' + d.howMany + ')'; + tooltip.innerHTML = d.source + ' -> ' + d.target + '(×' + d.howMany + ')'; var rect = event.target.getClientRects()[0]; var tooltipWidth = tooltip.offsetWidth; tooltip.style.top = (rect.top - 60) + 'px';