diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-13 18:13:06 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-13 18:13:06 +0300 |
commit | f6fc624b2a4c5fff80e8e070b5cb065bcced0aed (patch) | |
tree | 8ec19da31a8196cb30cecc053b10ee11a48b4835 /src/js/arching-kaos-log.js | |
parent | b165b0e78e04d269eca33f78df6b86922fcae56e (diff) | |
download | arching-kaos-web-ui-f6fc624b2a4c5fff80e8e070b5cb065bcced0aed.tar.gz arching-kaos-web-ui-f6fc624b2a4c5fff80e8e070b5cb065bcced0aed.tar.bz2 arching-kaos-web-ui-f6fc624b2a4c5fff80e8e070b5cb065bcced0aed.zip |
refactoring
Diffstat (limited to 'src/js/arching-kaos-log.js')
-rw-r--r-- | src/js/arching-kaos-log.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |