Modify ↓
Ticket #6998 (closed bug: worksforme)
.show not calling callback
| Reported by: | andreipetre | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.4.3 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
When specifying the duration for ".show()" as "0" (zero) the callback function is never called.
e.g.: For "$([selector]).show(0, SOME_FUNCTION)", SOME_FUNCTION is never executed.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

works properly in 1.4.2
<html> <head> <script src='http://code.jquery.com/jquery-1.4.2.min.js'></script> <script> $(document).ready(function() { $("#test").show(0,function(){alert('works');}); }); </script> </head> <body> <div id="test" style="display:none">foo</div> </body> </html>