From b281b676693a9770eddee5ba0baebef587cc45cf Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Mon, 4 Dec 2023 20:14:43 -0300 Subject: [PATCH] Replace `` followed by line break with a `
` --- scripts/pi-hole/js/taillog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pi-hole/js/taillog.js b/scripts/pi-hole/js/taillog.js index ad407aff..44351989 100644 --- a/scripts/pi-hole/js/taillog.js +++ b/scripts/pi-hole/js/taillog.js @@ -91,7 +91,7 @@ function getData() { // Check if we have a new PID -> FTL was restarted if (lastPID !== data.pid) { if (lastPID !== -1) { - $("#output").append("*** FTL restarted ***
"); + $("#output").append("
*** FTL restarted ***
"); } // Remember PID @@ -106,7 +106,7 @@ function getData() { // Set placeholder text if log file is empty and we have no new lines if (data.log.length === 0) { if (nextID === 0) { - $("#output").html("*** Log file is empty ***"); + $("#output").html("
*** Log file is empty ***
"); } utils.setTimer(getData, REFRESH_INTERVAL.logs); @@ -128,11 +128,11 @@ function getData() { // Add new line to output $("#output").append( - '' + + '
' + moment(1000 * line.timestamp).format("YYYY-MM-DD HH:mm:ss.SSS") + " " + line.message + - "
" + "
" ); if (fadeIn) { //$(".left-line:last").fadeOut(2000);