Remove defer attribute from standalone <script> tags
This commit is contained in:
parent
1d8909ab92
commit
9d44e34113
|
@ -36,7 +36,7 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script defer>
|
<script>
|
||||||
const hero = document.querySelector(".hero");
|
const hero = document.querySelector(".hero");
|
||||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||||
const headerImgEl = document.querySelector(".hero__img");
|
const headerImgEl = document.querySelector(".hero__img");
|
||||||
|
|
|
@ -137,7 +137,7 @@ https://kalechips.net/projects/snippets/burger #}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script defer>
|
<script>
|
||||||
window.onload = () => {
|
window.onload = () => {
|
||||||
const navbarBurger = document.querySelector(".navbar__burger");
|
const navbarBurger = document.querySelector(".navbar__burger");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue