Opened 9 years ago
Closed 9 years ago
#14390 closed bug (notabug)
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...!
Change History (3)
comment:1 Changed 9 years ago by
comment:3 Changed 9 years ago by
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.
Note: See
TracTickets for help on using
tickets.
#14391 is a duplicate of this ticket.