From 7508238c18a4e68db69b1af609a97528a7913eb8 Mon Sep 17 00:00:00 2001 From: lou Date: Sun, 13 Oct 2024 11:58:25 -0400 Subject: [PATCH] fix coloring issue --- src/js/status.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/status.js b/src/js/status.js index b333a92..29bc475 100644 --- a/src/js/status.js +++ b/src/js/status.js @@ -27,12 +27,12 @@ async function testPing() { if (url === 'https://kantor.aidxn.fun/ping') { const status1 = document.getElementById("status1"); status1.textContent = `[ONLINE - ${time} ms]` - status1.class = 'text-green-500 font-bold'; + status1.className = 'text-green-500 font-bold'; } if (url === 'https://api.aidxn.fun/ping') { const api = document.getElementById("api"); api.textContent = `[ONLINE - ${time} ms]` - api.class = 'text-green-500 font-bold'; + api.className = 'text-green-500 font-bold'; } return { url, time }; })