From 4b78b6569b960abdc880699ee29f5a01373966f6 Mon Sep 17 00:00:00 2001 From: anapnoe <124302297+anapnoe@users.noreply.github.com> Date: Wed, 26 Apr 2023 09:56:28 +0300 Subject: [PATCH] fix Certain Text inside UI is almost unreadable #88 --- javascript/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/javascript/ui.js b/javascript/ui.js index 3f723428..28873c3a 100644 --- a/javascript/ui.js +++ b/javascript/ui.js @@ -1565,7 +1565,8 @@ document.addEventListener('readystatechange', function (e) { window.onload = function() { document.getElementsByTagName("html")[0].style.backgroundColor = localStorage.getItem("bg_color"); document.body.style.backgroundColor = localStorage.getItem("bg_color"); - document.body.style.display = "none"; + document.body.style.display = "none"; + document.body.classList.add("dark"); setTimeout(function(){document.body.style.display = "block";},1000) } \ No newline at end of file