From f6fc624b2a4c5fff80e8e070b5cb065bcced0aed Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 13 Jul 2024 18:13:06 +0300 Subject: refactoring --- src/js/arching-kaos-log.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/js/arching-kaos-log.js') diff --git a/src/js/arching-kaos-log.js b/src/js/arching-kaos-log.js index b812678..47dcab9 100644 --- a/src/js/arching-kaos-log.js +++ b/src/js/arching-kaos-log.js @@ -1,9 +1,9 @@ function archingKaosLog(message){ - var sta = document.createElement("pre"); + var sta = document.createElement("div"); var lts = new Date(Date.now()); var fmsg = lts.toISOString() + " " + message; sta.innerText = fmsg - currentLogMessageElement.innerText = fmsg; + currentLogMessageElement.innerHTML = fmsg; logsAreaElement.appendChild(sta); } -- cgit v1.2.3