[jQuery] toggle(); no longer works properly in SVN
Referring to Rev 165:
The following lines of code are messing up the toggle function in certain cases:
toggle: function(){
var d = jQuery.css(this,"display");
$(this)[ !d || 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.
--
Best Regards,
Nate Wienert
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/