We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab7c1b commit ae4f373Copy full SHA for ae4f373
src/jquery.typer.js
@@ -151,7 +151,7 @@ String.prototype.rightChars = function(n){
151
}
152
153
try {
154
- targets = JSON.parse($e.attr($.typer.options.typerDataAttr));
+ targets = JSON.parse($e.attr($.typer.options.typerDataAttr)).targets;
155
} catch (e) {}
156
157
if (typeof targets === "undefined") {
@@ -251,4 +251,4 @@ String.prototype.rightChars = function(n){
251
typerInterval = function () {
252
return $.typer.options.typerInterval;
253
};
254
-})(jQuery);
+})(jQuery);
0 commit comments