From a6a1e60d232e843bfa20c10bd86ac7b5dabe7bc5 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 22 Mar 2018 17:06:54 +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 e1a379a..5f91356 100644 --- a/static/rbmd/script.js +++ b/static/rbmd/script.js @@ -68,7 +68,7 @@ function displayData(a){ $("#statusContainer:contains('resizing')").css("background-color", "#ff9800"); $("#statusContainer:contains('deadly')").css("background-color", "#f44336");; // if (node2 != undefined) { - var one = a.quorum.map(function(item) {return item.node}); + 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)) { node2 = a;