From a3b32ffb32faf8928ddba3396c993abaee682981 Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 27 Mar 2018 14:10:35 +0300 Subject: [PATCH] upd --- static/rbmd/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/rbmd/script.js b/static/rbmd/script.js index e006ae0..2b0dea8 100644 --- a/static/rbmd/script.js +++ b/static/rbmd/script.js @@ -184,7 +184,7 @@ function openNode(evt, nodeName) { x = document.getElementsByClassName("node"); tablinks = document.getElementsByClassName("tablink"); $('#showDeadlyDetails').text('Show details'); - if (selected_node != deadNode) { + if (selected_node == deadNode) { $('#details').css("border", "2px solid #f44336").css("display", "block"); } else { $('#details').css("border", "").css("display", "block");