Skip to main content

Bug Tracker

Side navigation

#14392 closed bug (duplicate)

Opened September 26, 2013 10:44AM UTC

Closed September 29, 2013 08:35PM UTC

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:
Description

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...!

Attachments (0)
Change History (2)

Changed September 26, 2013 12:02PM UTC by dido comment:1

_comment0: This method signature for the toggle method has been removed. Please see http://api.jquery.com/toggle-event/. \ \ Duplicate tickets: #14930, #149311380197692191785

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

Duplicate tickets: #14390, #14391

Changed September 29, 2013 08:35PM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Duplicate of #14390.