Skip to content

Commit

Permalink
Fix broken mobile theme switcher animation
Browse files Browse the repository at this point in the history
  • Loading branch information
tedgravlin committed Apr 26, 2024
1 parent ac9ca2c commit 2964db4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ window.addEventListener("load", () => {
// Get the theme switcher buttons
const theme_button_desktop = document.getElementById("theme-button-desktop");
const theme_button_mobile = document.getElementById("theme-button-mobile");
const theme_icon_mobile = document.getElementById("theme-icon-mobile");

// Get the stored theme and update the page
let stored_theme = localStorage.getItem('theme');
Expand Down

0 comments on commit 2964db4

Please sign in to comment.