Commit 6222df39 authored by Sylvain Schmitz's avatar Sylvain Schmitz

improve interaction with chords

parent a904e037
......@@ -266,7 +266,7 @@ function matrixgraph(fragments, matrix, maxentries) {
function mouseclick(p) {
var log = d3.select("#log")
.style("opacity", 1);
log.selectAll("#log div").each(function (d) { d.remove(); });
log.selectAll("#log div").remove();
log.selectAll("#log div").data([p])
.enter()
.append("div")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment