Bug Tracker

Modify

Ticket #6998 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

.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

comment:1 Changed 3 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 3 years ago by snover

  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to worksforme

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.