Skip to content

Commit

Permalink
fix: make themeswitch functionable again
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderdavide committed Feb 6, 2022
1 parent a22e9df commit 72f09ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/anatole-theme-switcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function switchTheme() {
document.addEventListener(
'DOMContentLoaded',
function () {
const themeSwitcher = document.querySelector('.theme-switch');
const themeSwitcher = document.querySelector('.themeswitch');
themeSwitcher.addEventListener('click', switchTheme, false);
},
false,
Expand Down

0 comments on commit 72f09ca

Please sign in to comment.