Skip to content

Commit

Permalink
Merge pull request jschr#43 from stebboko/master
Browse files Browse the repository at this point in the history
Fixed text not initially hiding with In effects.
  • Loading branch information
Jordan Schroter committed May 28, 2014
2 parents 5a87985 + 7f77138 commit 9ed6ae7
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 @@ -106,9 +106,9 @@
.text(base.$texts.find(':first-child').html())
.prependTo($element);

if (isInEffect(options.effect)) {
if (isInEffect(options.in.effect)) {
base.$current.css('visibility', 'hidden');
} else if (isOutEffect(options.effect)) {
} else if (isOutEffect(options.out.effect)) {
base.$current.css('visibility', 'visible');
}

Expand Down

0 comments on commit 9ed6ae7

Please sign in to comment.