From c409cf20bfb79439c8a9dabe894325a1a58d2654 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 31 Dec 2016 16:35:16 +0000 Subject: [PATCH] Hide h3 headings if list is empty --- scripts/pi-hole/js/list.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pi-hole/js/list.js b/scripts/pi-hole/js/list.js index bbb5cb60..b3b82955 100644 --- a/scripts/pi-hole/js/list.js +++ b/scripts/pi-hole/js/list.js @@ -57,6 +57,7 @@ function refresh(fade) { var data = JSON.parse(response); if(data.length === 0) { + $("h3").hide(); list.html("
Your " + fullName + " is empty!
"); } else {