Removed max slots

This commit is contained in:
aggelosQQ 2016-09-05 23:34:29 +03:00
parent 94e6169d36
commit e163d5bcc2

View file

@ -14,7 +14,7 @@ $(document).ready(function() {
$("#online").html('<span style="color: firebrick; font-weight: bolder;"> Server is Offline</span>'); $("#online").html('<span style="color: firebrick; font-weight: bolder;"> Server is Offline</span>');
$(".button").hide(); $(".button").hide();
} else { } else {
$("#online").html('TotalFreedom has <font color="green">' + json.players.online + '/' + json.players.max + '</font> players online!'); $("#online").html('TotalFreedom has <font color="green">' + json.players.online + '</font> players online!');
$("#players-online").html(json.players.online + ' online players!'); $("#players-online").html(json.players.online + ' online players!');
$('.button').show(); $('.button').show();
} }