Skip to content

Commit

Permalink
merging fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
a456pur committed Nov 19, 2023
2 parents ec95d68 + fce5dd4 commit 1592508
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ <h2>version 7.3 / release build</h2>
const h1 = document.querySelector(".typewriter");

function type() {
setTimeout(() => {
for (let i = 0; i < text.length; i++) {
setTimeout(() => {
h1.textContent += text[i];
if (i === text.length - 1) {
cursor.style.display = "none";
for (let i = 0; i < text.length; i++) {
setTimeout(() => {
h1.textContent += text[i];
if (i === text.length - 1) {
cursor.style.display = "none";
}
}, i * typingDelay);
}
}, i * typingDelay);
}
}, initialDelay);
}, initialDelay);
}

type();
Expand Down

0 comments on commit 1592508

Please sign in to comment.