#112 closed bug (fixed)
toggle(); no longer works (properly?)
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | effects | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Revision 165
The following lines of code are messing up the toggle function in certain cases:
toggle: function(){ var d = jQuery.css(this,"display");
d == "none" ? "show" : "hide" ](); |
},
When toggle is used like this:
$("#login_link").toggle( function(){$("#loginbox").slideDown("fast");}, function(){$("#loginbox").slideUp("fast");} );
The #login_link is being hidden right off the bat, and it seems theres no way to achieve the above effect with the new functionality of toggle.
Change History (2)
comment:1 Changed 17 years ago by
Component: | core → fx |
---|---|
Milestone: | → 1.0 |
Version: | → 1.0 |
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev 168.