Skip to content

Commit

Permalink
Remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
bembelimen committed Jan 27, 2024
1 parent ce38617 commit 1263cae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/media_source/mod_user/js/color-scheme.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const initModUser = () => {
buttons.forEach(button => {
button.addEventListener('click', e => {
e.preventDefault();
console.log(document.cookie);

const docEl = document.documentElement
const colorScheme = docEl.dataset.colorScheme;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,7 @@ function darkModeWatch() {
if (!document.cookie
.split("; ")
.find((row) => row.startsWith("colorScheme"))) {
alert('bla');
// check();
check();
}
}

Expand Down

0 comments on commit 1263cae

Please sign in to comment.