No longer looking for a job!
This commit is contained in:
parent
0f479d3c54
commit
7e6be048f4
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
const ColorModes = { Dark: 'dark', Light: 'light' };
|
const ColorModes = { Dark: 'dark', Light: 'light' };
|
||||||
// Yes this is dumb, but it's an easy way to handle this.
|
// Yes this is dumb, but it's an easy way to handle this.
|
||||||
const lookingForJob = true && !window.localStorage.getItem('hasSeenJobModal');
|
const lookingForJob = false; // switch to: true && !window.localStorage.getItem('hasSeenJobModal');
|
||||||
|
|
||||||
// Set the current color mode to the default display mode
|
// Set the current color mode to the default display mode
|
||||||
let currentColorMode = window.matchMedia('(prefers-color-scheme: dark)').matches
|
let currentColorMode = window.matchMedia('(prefers-color-scheme: dark)').matches
|
||||||
|
|
@ -216,4 +216,4 @@ window.addEventListener('load', () => {
|
||||||
|
|
||||||
localStorage.setItem('color-mode', currentColorMode);
|
localStorage.setItem('color-mode', currentColorMode);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue