Skip to content

Commit

Permalink
Homepage animation condition changes 5
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashorsey committed Jun 23, 2024
1 parent 7a6b15d commit 26bf9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26bf9e2

Please sign in to comment.