Side navigation
#14390 closed bug (notabug)
Opened September 26, 2013 10:42AM UTC
Closed September 29, 2013 08:37PM UTC
toggle() on version 1.10.2
Reported by: | anonyMous | 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 page...!
Attachments (0)
Change History (3)
Changed September 29, 2013 08:35PM UTC by comment:1
Changed September 29, 2013 08:37PM UTC by comment:3
resolution: | → notabug |
---|---|
status: | new → closed |
The .toggle(fn,fn...)
signature has been deprecated since 1.8 and was removed in 1.9. Change the code or use the jQuery Migrate plugin.
#14391 is a duplicate of this ticket.