unmount fix

This commit is contained in:
Anna Sudnitsina 2017-09-01 21:58:13 +03:00
parent 8601965591
commit 50bf417eae

View File

@ -52,7 +52,8 @@ $(function() {
$('#details').css("border", "0");
}
console.log(a.leader);
$("#leader").html(a.leader);
var lead = a.leader;
$("#leader").html(lead);
$( "#statusContainer:contains('alive')" ).css("background-color", "#4CAF50" );
$( "#statusContainer:contains('resizing')" ).css("background-color", "#ff9800" );
$( "#statusContainer:contains('deadly')" ).css("background-color", "#f44336" );;