Skip to content

Commit

Permalink
fix to textillating already lettered text
Browse files Browse the repository at this point in the history
  • Loading branch information
nawafnaim committed Dec 18, 2014
1 parent 0e59238 commit ea8b261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.textillate.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
base.$texts.hide();

base.$current = $('<span>')
.text(base.$texts.find(':first-child').html())
.html(base.$texts.find(':first-child').html())
.prependTo($element);

if (isInEffect(options.in.effect)) {
Expand Down Expand Up @@ -150,7 +150,7 @@
base.triggerEvent('inAnimationBegin');

base.$current
.text($elem.html())
.html($elem.html())
.lettering('words');

// split words to individual characters if token type is set to 'char'
Expand Down

0 comments on commit ea8b261

Please sign in to comment.