From f591280d58550e8f4ef997bedf0969c2f42de73a Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 11 May 2020 22:11:17 +0200 Subject: [PATCH] Review comments Signed-off-by: DL6ER --- scripts/pi-hole/js/footer.js | 2 +- scripts/pi-hole/js/messages.js | 2 +- scripts/pi-hole/php/header.php | 2 +- style/pi-hole.css | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pi-hole/js/footer.js b/scripts/pi-hole/js/footer.js index b352ccd3..a85fbd1d 100644 --- a/scripts/pi-hole/js/footer.js +++ b/scripts/pi-hole/js/footer.js @@ -105,7 +105,7 @@ function check_messages() { $("#pihole-diagnosis").prop("title", title); $("#pihole-diagnosis-count").text(data.message_count); - $("#pihole-diagnosis").removeClass("hidden"); + $("#pihole-diagnosis").removeClass("d-none"); } }); } diff --git a/scripts/pi-hole/js/messages.js b/scripts/pi-hole/js/messages.js index 889bc03a..2816a9c3 100644 --- a/scripts/pi-hole/js/messages.js +++ b/scripts/pi-hole/js/messages.js @@ -7,7 +7,7 @@ /* global utils:false */ -var token = $("#token").html(); +var token = $("#token").text(); function render_timestamp(data, type) { // Display and search content diff --git a/scripts/pi-hole/php/header.php b/scripts/pi-hole/php/header.php index 3f27a43a..937053ae 100644 --- a/scripts/pi-hole/php/header.php +++ b/scripts/pi-hole/php/header.php @@ -271,7 +271,7 @@ if($auth) {