Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14392 closed bug (duplicate)

toggle() on version 1.10.2

Reported by: MZ Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:


hi, the toggle action don't work very well when i have tried this:

$('p:first').toggle(function() {

$(this).animate( {'height':'+=150px'}, 1000, 'linear')

}, function() {

$(this).animate( {'height':'-=150px'}, 1000, 'swing');


this toggle with version 1.10.2 apply only second function "-=150px" and on load...!

Change History (2)

comment:1 Changed 9 years ago by dido

This method signature for the toggle method has been removed. Please see http://api.jquery.com/toggle-event/.

Duplicate tickets: #14390, #14391

Last edited 9 years ago by dido (previous) (diff)

comment:2 Changed 9 years ago by dmethvin

Resolution: duplicate
Status: newclosed

Duplicate of #14390.

Note: See TracTickets for help on using tickets.