diff --git a/resources/views/app/bubble.blade.php b/resources/views/app/bubble.blade.php index 750a8f733fe29f773ad7958724de51157e76d2ce..05c64f8c8e3b8da7b049dd996434ba8ab229febb 100644 --- a/resources/views/app/bubble.blade.php +++ b/resources/views/app/bubble.blade.php @@ -38,7 +38,10 @@ .attr("id", d => (d.leafUid = d.data.id)) .attr("r", d => d.r) .attr("fill-opacity", 0.7) - .attr("fill", d => colors(d.data.score)); + .attr("fill", d => colors(d.data.score)) + .on("click", function(d) { + window.location = "/app/evidence/" + d.srcElement.id; + }); leaf.append("clipPath") .attr("id", d => (d.clipUid = "clip-" + d.data.id))