diff --git a/js/wowchemy-publication.js b/js/wowchemy-publication.js index fd11c69..4c78406 100644 --- a/js/wowchemy-publication.js +++ b/js/wowchemy-publication.js @@ -1,3 +1,7 @@ +window.addEventListener("load", function () { + document.body.classList.add("show"); +}); + var a = {}, s, r, @@ -79,8 +83,3 @@ document.addEventListener("DOMContentLoaded", function () { }); }); }); - -// 페이지가 로드되면 show 클래스를 body 요소에 추가 -window.addEventListener('load', function() { - document.body.classList.add('show'); -});