Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TypeWriter {
const current = this.wordIndex % this.words.length;
// Get full text of current word
const fullTxt = this.words[current];

// this is imp
// Check if deleting
if(this.isDeleting) {
// Remove char
Expand Down Expand Up @@ -63,4 +63,4 @@ class TypeWriter {
const wait = txtElement.getAttribute('data-wait');
// Init TypeWriter
new TypeWriter(txtElement, words, wait);
}
}