github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 404
    • 52
  • Source
  • Commits
  • Network (52)
  • Graphs
  • Tree: 99900d5

click here to add a description

click here to add a homepage

  • Switch Branches (6)
    • bind
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
  • Switch Tags (16)
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Tooltip: Improve fadeout animation to handle case where tooltip overlays the 
element, causing it to hide instantly and never appearing again
jzaefferer (author)
Fri Apr 23 00:41:19 -0700 2010
commit  99900d57cec7a2b3b4b0
tree    644aaec5f9543ef1b5bd
parent  8cba84c246e6c9df8af2
M ui/jquery.ui.tooltip.js 4 ••••
Txt ui/jquery.ui.tooltip.js
  • View file @ 99900d5
... ...
@@ -133,7 +133,9 @@ $.widget("ui.tooltip", {
133 133
     this.tooltip.attr("aria-hidden", "true");
134 134
     
135 135
     if (this.tooltip.is(':animated'))
136  
-        this.tooltip.stop().fadeTo("normal", 0);
  136
+        this.tooltip.stop().fadeTo("normal", 0, function() {
  137
+          $(this).hide().css("opacity", "");
  138
+        });
137 139
       else
138 140
         this.tooltip.stop().fadeOut();
139 141
     

0 notes on commit 99900d5

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server