mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Hide h3 headings if list is empty
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user