mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
@@ -153,7 +153,7 @@ function sub(index, entry, arg) {
|
||||
alInfo.hide();
|
||||
});
|
||||
domain.remove();
|
||||
if($(list+" li").length < 1)
|
||||
if($(list+" li").length === 0)
|
||||
{
|
||||
$(heading).fadeOut(100);
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ $(document).ready(function() {
|
||||
}
|
||||
|
||||
// Set hostname to "N/A" if not available
|
||||
if(!data.name || data.name.length < 1)
|
||||
if(!data.name || data.name.length === 0)
|
||||
{
|
||||
$("td:eq(3)", row).html("N/A");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user