upd
This commit is contained in:
parent
a6a1e60d23
commit
54df2198fb
@ -70,7 +70,7 @@ function displayData(a){
|
||||
// if (node2 != undefined) {
|
||||
var one = a.quorum.map(function(item) {return item.node}) || undefined;
|
||||
var two = node2.quorum.map(function(item) {return item.node});
|
||||
if (JSON.stringify(one) != JSON.stringify(two)) {
|
||||
if (JSON.stringify(one) != JSON.stringify(two) || node2 != undefined) {
|
||||
node2 = a;
|
||||
w3DisplayData("id01", node2);
|
||||
}
|
||||
@ -156,7 +156,7 @@ function displayData(a){
|
||||
}
|
||||
|
||||
function openNode(evt, nodeName) {
|
||||
console.log(nodeName);
|
||||
// console.log(nodeName);
|
||||
var i, x, tablinks;
|
||||
selected_node = nodeName;
|
||||
x = document.getElementsByClassName("node");
|
||||
|
Loading…
Reference in New Issue
Block a user