Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Remove defer attribute from theme-toggle script #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% include "partials/global/site-foot.njk" %}
{% block foot %}
{% endblock %}
<script type="module" src="/js/components/theme-toggle.js" async defer></script>
<script type="module" src="/js/components/theme-toggle.js" async></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
Expand Down