Add default favicon
This commit is contained in:
@ -175,10 +175,14 @@ $(document).ready(function() {
|
||||
</div>'
|
||||
}).appendTo("#server-container");
|
||||
|
||||
var favicon = MISSING_FAVICON_BASE64;
|
||||
|
||||
if (lastEntry.result && lastEntry.result.favicon) {
|
||||
$('#favicon_' + safeName(info.name)).attr('src', lastEntry.result.favicon);
|
||||
favicon = lastEntry.result.favicon;
|
||||
}
|
||||
|
||||
$('#favicon_' + safeName(info.name)).attr('src', favicon);
|
||||
|
||||
updateServerStatus(lastEntry);
|
||||
|
||||
graphs[lastEntry.info.name] = {
|
||||
|
Reference in New Issue
Block a user