Skip to content

Commit d437c63

Browse files
authored
Update 404.html
1 parent 22cb9f6 commit d437c63

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎404.html‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,7 @@
359359
setActiveBtn(template);
360360
}, 80);
361361
}
362-
document.querySelector(".nav-logo").onclick = () =>{
363-
location.href = "/";
364-
}
362+
365363
// ── 404 BLOCK ────────────────────────────────────────────────────
366364
function inject404Block() {
367365
if (document.querySelector('.e404')) return; // already injected
@@ -400,6 +398,9 @@
400398

401399
hero.appendChild(block);
402400

401+
document.querySelector(".nav-logo").onclick = () =>{
402+
location.href = "/";
403+
}
403404
// Copy CDN button
404405
document.getElementById('copyCdnBtn').addEventListener('click', function() {
405406
navigator.clipboard.writeText(CDN_SNIPPET).then(() => {

0 commit comments

Comments
 (0)