new: Mark all nodes with HTTP content

pull/62/head
Raphaël Vinot 2019-06-25 16:49:15 +02:00
parent 230b8e7842
commit 60d9038078
1 changed files with 2 additions and 2 deletions

View File

@ -440,14 +440,14 @@ function update(root, computed_node_width=0) {
.attr('y', 0) .attr('y', 0)
.style("opacity", "0.5") .style("opacity", "0.5")
.attr("stroke", d => { .attr("stroke", d => {
if (d.data.mixed_content){ if (d.data.http_content){
return "red"; return "red";
} }
return "black"; return "black";
}) })
.attr('stroke-opacity', "0.8") .attr('stroke-opacity', "0.8")
.attr("stroke-width", d => { .attr("stroke-width", d => {
if (d.data.mixed_content){ if (d.data.http_content){
return "4"; return "4";
} }
return "2"; return "2";