re-add alt-text

This commit is contained in:
Min Idzelis
2025-04-23 21:41:09 +00:00
parent 6cb7fffe91
commit 0795f8a761
8 changed files with 39 additions and 33 deletions
+1 -2
View File
@@ -1,4 +1,5 @@
import { browser } from '$app/environment';
function getBoolean(string: string | null, fallback: boolean) {
if (string === null) {
return fallback;
@@ -11,13 +12,11 @@ function getNumber(string: string | null, fallback: number) {
}
return Number.parseInt(string);
}
const storage = browser
? localStorage
: {
getItem: () => null,
};
export const TUNABLES = {
LAYOUT: {
WASM: getBoolean(storage.getItem('LAYOUT.WASM'), false),