Skip to content

Commit

Permalink
animate by adding 'tour-anim-in' class
Browse files Browse the repository at this point in the history
* animation is broken with jQuery's fadeIn()
* DaftMonk#83
  • Loading branch information
dylanjha committed Apr 13, 2017
1 parent 07433cc commit c01bc79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/angular-tour-tpls.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@
if (!scope.ttContent) {
return;
}
if (scope.ttAnimation)
tourtip.fadeIn();
else {
if (scope.ttAnimation) {
tourtip.addClass('tour-anim-in');
} else {
tourtip.css({ display: 'block' });
}
var targetElement = scope.ttElement ? angular.element(scope.ttElement) : element;
Expand Down Expand Up @@ -505,4 +505,4 @@
};
}
]);
}(window, document));
}(window, document));

0 comments on commit c01bc79

Please sign in to comment.