upd
This commit is contained in:
parent
7ed3ade475
commit
6ad11449a1
@ -183,11 +183,11 @@ function openNode(evt, nodeName) {
|
||||
selected_node = nodeName;
|
||||
x = document.getElementsByClassName("node");
|
||||
tablinks = document.getElementsByClassName("tablink");
|
||||
console.log(selected_node);
|
||||
console.log(deadNode);
|
||||
console.log(selected_node != deadNode);
|
||||
$('#showDeadlyDetails').text('Show details');
|
||||
if (selected_node != deadNode) {
|
||||
$('#details').css("border", "2px solid #f44336");
|
||||
$('#details').css("border", "2px solid #f44336").css("display", "block");
|
||||
} else {
|
||||
$('#details').css("border", "").css("display", "block");
|
||||
}
|
||||
// if (selected_node == 'dead') {
|
||||
// // if (selected_node == deadNode) {
|
||||
@ -201,8 +201,8 @@ function openNode(evt, nodeName) {
|
||||
// }
|
||||
// // displayData(a);
|
||||
// } else {
|
||||
$('#showDeadlyDetails').text('Show details');
|
||||
$('#details').css("border", "").css("display", "block");
|
||||
|
||||
|
||||
displayData(a);
|
||||
// }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user