Skip to content

Commit

Permalink
Merge pull request #1443 from JVMerkle/bugfix/prevent-theme-flickering
Browse files Browse the repository at this point in the history
Avoid theme flicker on reload in dark mode
  • Loading branch information
senekor authored Dec 26, 2024
2 parents f0f4b12 + 381cda1 commit cfb4ce8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion templates/footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@

<!-- scripts -->
<script src="{{root}}scripts/highlight.js"></script>
<script src="{{root}}scripts/theme-switch.js"></script>
1 change: 1 addition & 0 deletions templates/nav.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
<li class="theme-item" onclick="changeThemeTo('dark');">Dark</li>
</ul>
</button>
<script src="{{root}}scripts/theme-switch.js"></script>
</ul>
</nav>

0 comments on commit cfb4ce8

Please sign in to comment.