remove console logs
This commit is contained in:
parent
2e5d565468
commit
9a712b54c8
1 changed files with 0 additions and 2 deletions
|
|
@ -65,10 +65,8 @@ function reflectPreference() {
|
|||
}
|
||||
|
||||
function updateMetaThemeColor() {
|
||||
console.log('Updating theme color to:', theme.value);
|
||||
const metaThemeColor = document.querySelector('meta[name="theme-color"]');
|
||||
const newColor = theme.value === 'dark' ? themeColors.dark : themeColors.light;
|
||||
console.log('New meta theme color:', newColor);
|
||||
metaThemeColor.setAttribute('content', newColor);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue