Skip to content

Commit

Permalink
Merge pull request #135 from sean-baek/patch-1
Browse files Browse the repository at this point in the history
Fixed displaying "dark" when in white mode on mobile
  • Loading branch information
Siricee committed Jan 25, 2023
2 parents c4f766e + 4182885 commit c3f2450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ document.ready(
} else {
document.getElementById("switch_default").checked = false;
// mobile
document.getElementById("mobile-toggle-theme").innerText = Dark"
document.getElementById("mobile-toggle-theme").innerText = Light"
}
_Blog.toggleTheme = function () {
if (isDark) {
Expand Down Expand Up @@ -84,4 +84,4 @@ document.ready(
_Blog.toggleTheme();
// ready function.
}
);
);

0 comments on commit c3f2450

Please sign in to comment.