Skip to content

Commit ac98c42

Browse files
author
nathan gouy
committed
fix issue#303
1 parent 26d9444 commit ac98c42

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/typed.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ return /******/ (function(modules) { // webpackBootstrap
267267
_this2.toggleBlinking(false);
268268

269269
// We're done with this sentence!
270-
if (curStrPos === curString.length) {
270+
if (curStrPos >= curString.length) {
271271
_this2.doneTyping(curString, curStrPos);
272272
} else {
273273
_this2.keepTyping(curString, curStrPos, numChars);

0 commit comments

Comments
 (0)