Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/leereilly/jquery-grab-bag
Browse files Browse the repository at this point in the history
…into leereilly-master
  • Loading branch information
jaz303 committed Nov 3, 2010
2 parents d53e117 + 65bc8b2 commit 307fbfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascripts/jquery.text-effects.js
Expand Up @@ -36,7 +36,7 @@
random = randomAlphaNum, inc = 3;
$ele.text('');
var timer = setInterval(function() {
$ele.text(str.substring(0, progress) + str.substring(progress, str.length - 1).replace(replace, random));
$ele.text(str.substring(0, progress) + str.substring(progress, str.length).replace(replace, random));
progress += inc
if (progress >= str.length + inc) clearInterval(timer);
}, 100);
Expand Down

0 comments on commit 307fbfe

Please sign in to comment.