diff --git a/rbmd/static/script.js b/rbmd/static/script.js index 12e3e8a..d69c12e 100644 --- a/rbmd/static/script.js +++ b/rbmd/static/script.js @@ -51,9 +51,6 @@ $(function() { $("#mountFormTrigger").removeClass("w3-disabled") $('#details').css("border", "0"); } - console.log(a.leader); - $("#leader").html("ХУЙ!!!"); - $("#leader").html(a.leader); $( "#statusContainer:contains('alive')" ).css("background-color", "#4CAF50" ); $( "#statusContainer:contains('resizing')" ).css("background-color", "#ff9800" ); $( "#statusContainer:contains('deadly')" ).css("background-color", "#f44336" );; @@ -111,6 +108,8 @@ $(function() { $("#mon").html(mnt_block); } else { $("#mon").html("") } } + $("#leader").html(a.leader); + } function openNode(evt, nodeName) { var i, x, tablinks;