Bug Tracker

Opened 9 years ago

Closed 9 years ago

#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:
Blocked by: Blocking:

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 (2)

comment:1 Changed 9 years ago by dfens

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>

comment:2 Changed 9 years ago by snover

Priority: undecided
Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.