Disables the dark reader
This commit is contained in:
parent
a2c00eb098
commit
94d3d722ae
|
@ -21,6 +21,13 @@
|
||||||
hideOnPrint = params.get('hideOnPrint') === '1';
|
hideOnPrint = params.get('hideOnPrint') === '1';
|
||||||
//console.log(hideOnPrint);
|
//console.log(hideOnPrint);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
import { onMount } from 'svelte';
|
||||||
|
onMount(() => {
|
||||||
|
const lock = document.createElement('meta');
|
||||||
|
lock.name = 'darkreader-lock';
|
||||||
|
document.head.appendChild(lock);
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Detect mobile -->
|
<!-- Detect mobile -->
|
||||||
|
|
Loading…
Reference in New Issue