unmount fix

This commit is contained in:
Anna Sudnitsina 2017-09-01 22:07:01 +03:00
parent be30637ff5
commit a80042a384

View File

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