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) {