local no errors
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 9s
Some checks failed
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Failing after 9s
This commit is contained in:
parent
a7a53e6fb6
commit
7a21f70144
7 changed files with 104 additions and 5 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue