diff --git a/js/script.js b/js/script.js index da4b524..f8e52e2 100644 --- a/js/script.js +++ b/js/script.js @@ -32,7 +32,7 @@ document.addEventListener("DOMContentLoaded", function() { /* Typing animation */ document.addEventListener('DOMContentLoaded', function(event) { - if (window.location.pathname.endsWith("index.html")) { + if (window.location.pathname.endsWith("index")) { // Types out text, calling self until the text is finished function typingAnimation(text, i, fnCallback) { // Check if there are characters left to type