u
This commit is contained in:
parent
c1d8537445
commit
3f40802e55
@ -150,17 +150,17 @@ function openNode(evt, nodeName) {
|
||||
selected_node = nodeName;
|
||||
x = document.getElementsByClassName("node");
|
||||
tablinks = document.getElementsByClassName("tablink");
|
||||
// if (selected_node == 'dead') {
|
||||
if (selected_node == deadNode) {
|
||||
if (selected_node == 'dead') {
|
||||
// if (selected_node == deadNode) {
|
||||
$('#details').css("border", "2px solid #f44336");
|
||||
// if ($('#showDeadlyDetails').html() == "Show details") {
|
||||
// $('#details').css("display", "block");
|
||||
// $('#showDeadlyDetails').text('Hide details');
|
||||
// } else {
|
||||
// $('#details').css("display", "none");
|
||||
// $('#showDeadlyDetails').text('Show details');
|
||||
// }
|
||||
displayData(a);
|
||||
if ($('#showDeadlyDetails').html() == "Show details") {
|
||||
$('#details').css("display", "block");
|
||||
$('#showDeadlyDetails').text('Hide details');
|
||||
} else {
|
||||
$('#details').css("display", "none");
|
||||
$('#showDeadlyDetails').text('Show details');
|
||||
}
|
||||
// displayData(a);
|
||||
} else {
|
||||
$('#showDeadlyDetails').text('Show details');
|
||||
$('#details').css("border", "").css("display", "block"); displayData(a);
|
||||
|
Loading…
Reference in New Issue
Block a user