local no errors
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 9s

This commit is contained in:
BOTAlex 2025-10-03 15:06:40 +02:00
parent a7a53e6fb6
commit 7a21f70144
7 changed files with 104 additions and 5 deletions

View file

@ -4,6 +4,7 @@
import fly from "@e/fly";
import MediaQuery from "svelte-media-queries";
import Dices from "@lucide/svelte/icons/dices";
import { re } from "@ts/Redaction/Redactor";
let hideOnPrint: boolean = $state(false);
let { children } = $props();
@ -26,7 +27,9 @@
afterNavigate(() => {
const params = new URLSearchParams(window.location.search);
hideOnPrint = params.get("hideOnPrint") === "1";
// console.log(hideOnPrint);
if (!!params.get("key")) {
localStorage.setItem("key", params.get("key")!);
}
});
import onMount from "@e/onMount";
@ -37,6 +40,7 @@
const lock = document.createElement("meta");
lock.name = "darkreader-lock";
document.head.appendChild(lock);
re.TryGetUnredacter();
});
function nextTheme() {