diff --git a/templates/default_v2/inc/header.html b/templates/default_v2/inc/header.html index a85a9c9..dcda0a6 100644 --- a/templates/default_v2/inc/header.html +++ b/templates/default_v2/inc/header.html @@ -114,7 +114,7 @@ jQuery(".itemn").click(function(){ window.location.href = jQuery(this).attr("url") }) - window.addEventListener('load', () => { + window.addEventListener('DOMContentLoaded', () => { const box = document.querySelector('.slide-box'); setTimeout(() => box.style.opacity = 1, 50); }); diff --git a/templates/default_v2/index.html b/templates/default_v2/index.html index 3d44095..3b41d3d 100644 --- a/templates/default_v2/index.html +++ b/templates/default_v2/index.html @@ -11,6 +11,8 @@ + + @@ -31,6 +33,7 @@