mirror of https://github.com/CIRCL/lookyloo
chg: Improve tooltip to expand/collapse node
parent
910a154cf7
commit
2ca2c07015
|
@ -600,7 +600,7 @@ function update(root, computed_node_width=0) {
|
||||||
.style('opacity', 1)
|
.style('opacity', 1)
|
||||||
.style('left', `${event.pageX + 10}px`)
|
.style('left', `${event.pageX + 10}px`)
|
||||||
.style('top', `${event.pageY + 10}px`)
|
.style('top', `${event.pageY + 10}px`)
|
||||||
.text(d.children ? 'Collapse the childrens of this node.' : 'Expand the childrens of this node.');
|
.text(d.children ? 'Collapse the URLs loaded by this node.' : 'Expand the URLs loaded by this node.');
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue