Remove logs
This commit is contained in:
parent
9daa276c2e
commit
ab5649a531
1 changed files with 0 additions and 2 deletions
|
@ -12,10 +12,8 @@ document.querySelectorAll(".theme-toggler").forEach((a) =>
|
|||
);
|
||||
|
||||
const initAlign = () => {
|
||||
console.log("initAlign")
|
||||
const cur = localStorage.getItem("align");
|
||||
const prev = cur == "center" ? "left" : "center";
|
||||
console.log({ cur, prev })
|
||||
document.body.classList.remove("align-" + prev);
|
||||
document.body.classList.add("align-" + cur);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue