Skip to content

Commit

Permalink
fix Certain Text inside UI is almost unreadable #88
Browse files Browse the repository at this point in the history
  • Loading branch information
anapnoe committed Apr 26, 2023
1 parent c1882da commit 4b78b65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascript/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

}

0 comments on commit 4b78b65

Please sign in to comment.