[jquery-ui] r3418 committed - button/tooltip: reverted that last hotifx, didn't really help; switche...

0 views
Skip to first unread message

codesite...@google.com

unread,
Nov 7, 2009, 10:57:45 AM11/7/09
to jquery...@googlegroups.com
Revision: 3418
Author: joern.zaefferer
Date: Sat Nov 7 07:56:55 2009
Log: button/tooltip: reverted that last hotifx, didn't really help;
switched to event delegation tooltip for button demo
http://code.google.com/p/jquery-ui/source/detail?r=3418

Modified:
/branches/dev/tests/visual/button/default.html
/branches/dev/ui/jquery.ui.tooltip.js

=======================================
--- /branches/dev/tests/visual/button/default.html Sat Nov 7 03:05:27 2009
+++ /branches/dev/tests/visual/button/default.html Sat Nov 7 07:56:55 2009
@@ -29,7 +29,7 @@
selection.buttons("destroy");
}).click();

- $("button").tooltip();
+ $().tooltip();
});
</script>
<style>
=======================================
--- /branches/dev/ui/jquery.ui.tooltip.js Sat Nov 7 03:05:27 2009
+++ /branches/dev/ui/jquery.ui.tooltip.js Sat Nov 7 07:56:55 2009
@@ -68,7 +68,7 @@
if (this.tooltip.is(":animated"))
this.tooltip.stop().show().fadeTo("normal", this.opacity);
else
- this.tooltip.is(':visible') ? this.tooltip.show().fadeTo("normal",
this.opacity) : this.tooltip.fadeIn();
+ this.tooltip.is(':visible') ? this.tooltip.fadeTo("normal",
this.opacity) : this.tooltip.fadeIn();
},

close: function() {
@@ -79,9 +79,7 @@
this.tooltip.attr("aria-hidden", "true");

if (this.tooltip.is(':animated'))
- this.tooltip.stop().fadeTo("normal", 0, function() {
- $(this).hide();
- });
+ this.tooltip.stop().fadeTo("normal", 0);
else
this.tooltip.stop().fadeOut();

Reply all
Reply to author
Forward
0 new messages