Skip to main content

Bug Tracker

Side navigation

#112 closed bug (fixed)

Opened July 29, 2006 09:43PM UTC

Closed July 30, 2006 11:09PM UTC

Last modified June 20, 2007 02:23AM UTC

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");

$(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.

Attachments (0)
Change History (2)

Changed July 30, 2006 11:08PM UTC by john comment:1

component: corefx
milestone: → 1.0
version: → 1.0

Fixed in SVN rev 168.

Changed July 30, 2006 11:09PM UTC by john comment:2

resolution: → fixed
status: newclosed