Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Animations now jump to the end when stopped to rpevent problems with …
Browse files Browse the repository at this point in the history
…fade/slide animations
  • Loading branch information
Craga89 committed Dec 6, 2010
1 parent c549e2b commit 8bf924d
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Mon Dec 6 20:16:17 2010 +0000
* Date: Mon Dec 6 22:41:27 2010 +0000
*/

.ui-tooltip-accessible{
Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.qtip.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Mon Dec 6 20:16:17 2010 +0000
* Date: Mon Dec 6 22:41:27 2010 +0000
*/

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
Expand Down Expand Up @@ -470,7 +470,7 @@ function QTip(target, options, id)
}

// If tooltip has displayed, start hide timer
targets.tooltip.stop(TRUE);
targets.tooltip.stop(1, 1);

if(options.hide.delay > 0) {
self.timers.hide = setTimeout(function(){ self.hide(event); }, options.hide.delay);
Expand Down Expand Up @@ -914,7 +914,7 @@ function QTip(target, options, id)
tooltip.attr('aria-hidden', Boolean(!state));

// Clear animation queue
tooltip.stop(TRUE, FALSE);
tooltip.stop(1, 1);

// Use custom function if provided
if($.isFunction(opts.effect)) {
Expand Down

0 comments on commit 8bf924d

Please sign in to comment.