Hide h3 headings if list is empty

This commit is contained in:
DL6ER
2016-12-31 16:35:16 +00:00
parent a33301911a
commit c409cf20bf

View File

@@ -57,6 +57,7 @@ function refresh(fade) {
var data = JSON.parse(response);
if(data.length === 0) {
$("h3").hide();
list.html("<div class=\"alert alert-info\" role=\"alert\">Your " + fullName + " is empty!</div>");
}
else {