diff --git a/js/typed.js b/js/typed.js
index <HASH>..<HASH> 100644
--- a/js/typed.js
+++ b/js/typed.js
@@ -324,7 +324,9 @@
             var id = this.el.attr('id');
             this.el.after('<span id="' + id + '"/>')
             this.el.remove();
-            this.cursor.remove();
+            if (typeof this.cursor !== 'undefined') {
+                this.cursor.remove();
+            }
             // Send the callback
             self.options.resetCallback();
         }
Patch: if no cursor were present, the reset function would throw an error.