f
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 14s

This commit is contained in:
x 2025-03-09 05:08:40 +01:00
parent 32712cf70c
commit 5e735f072d

View File

@ -15,7 +15,7 @@ const Cookie = {
};
(() => {
const acttheme = Cookie.get('theme') ?? "f0ck";
const acttheme = Cookie.get('theme') ?? "atmos";
const themecontainer = document.querySelector("li#themes > ul.dropdown-menu");
const themes = [...themecontainer.querySelectorAll("li > a")].map(t => t.innerText.toLowerCase());
if(acttheme !== document.documentElement.getAttribute("theme") && themes.includes(acttheme))