diff --git a/assets/js/page.js b/assets/js/page.js index f68f24a..8fb6b36 100644 --- a/assets/js/page.js +++ b/assets/js/page.js @@ -2,7 +2,6 @@ document.addEventListener("readystatechange", event => { if(event.target.readyState === 'complete') { initOverflow(); initExternalLinks(); - initBackground(); } }); @@ -21,8 +20,4 @@ function initExternalLinks() { }) } -function initBackground() { - let text = document.querySelector('.background .background-content').innerHTML; - document.querySelector('.background .background-content').innerHTML = text + text + text; -} const isExternalURL = (url) => new URL(url).origin !== location.origin; \ No newline at end of file