Update static/webui/index.html

This commit is contained in:
Animan8000 2025-05-21 09:26:32 -07:00
parent 0546d018d4
commit 85e7a40404

View File

@ -3,8 +3,7 @@
<head> <head>
<script> <script>
// Set theme early to prevent flash of incorrect style // Set theme early to prevent flash of incorrect style
const theme = localStorage.getItem("theme") || "dark"; document.documentElement.setAttribute("data-bs-theme", localStorage.getItem("theme") || "dark");
document.documentElement.setAttribute("data-bs-theme", theme);
</script> </script>
<title>OpenWF WebUI</title> <title>OpenWF WebUI</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />