Skip to content

Commit

Permalink
Fixed appearance animation
Browse files Browse the repository at this point in the history
  • Loading branch information
louisameline committed Dec 6, 2013
1 parent 41bdc3f commit 72e6b75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions js/jquery.tooltipster.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Tooltipster 2.3.0 | 10/26/13
Tooltipster 2.3.0rc3 | 10/26/13
A rockin' custom tooltip jQuery plugin
Developed by Caleb Jacob under the MIT license http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -278,7 +278,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
pointerEvents = self.options.interactive ? 'pointer-events: auto;' : '';

// build the base of our tooltip
self.$tooltip = $('<div class="tooltipster-base '+ themeClass +'" style="'+ fixedWidth +' '+ maxWidth +' '+ pointerEvents +' '+ animationSpeed +'"><div class="tooltipster-content"></div></div>');
self.$tooltip = $('<div class="tooltipster-base '+ animation + ' ' + themeClass +'" style="'+ fixedWidth +' '+ maxWidth +' '+ pointerEvents +' '+ animationSpeed +'"><div class="tooltipster-content"></div></div>');
self.$tooltip
.children()
.append(self.content)
Expand All @@ -293,7 +293,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI

// animate in the tooltip
if (supportsTransitions()) {
self.$tooltip.addClass(animation + ' ' + animation + '-show');
self.$tooltip.addClass(animation + '-show');
}
else {
self.$tooltip.css('display', 'none').fadeIn(self.options.speed);
Expand Down
Loading

0 comments on commit 72e6b75

Please sign in to comment.