We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cb96f4 commit 154e712Copy full SHA for 154e712
js/initial-background.js
@@ -1,6 +1,6 @@
1
// inital check for systems which do not have light or dark mode
2
varnightTabData=JSON.parse(localStorage.getItem("nightTab"));
3
-if(!document.querySelector("html").classList.contains("is-ready")){
+if(!document.querySelector("html").classList.contains("is-ready")&&!state.get.current()){
4
console.log("hit");
5
if(window.matchMedia("(prefers-color-scheme:light)").matches){
6
if(nightTabData){
0 commit comments