Skip to main content

Bug Tracker

Side navigation

Ticket #6641: jquery-1.4.2-animation-fix.patch
File jquery-1.4.2-animation-fix.patch, 0.4 KB (added by camtarn, June 07, 2010 08:49AM UTC)

Patch for tick()

@@ -5867,7 +5867,8 @@
                var timers = jQuery.timers;

                for ( var i = 0; i < timers.length; i++ ) {
-                       if ( !timers[i]() ) {
+                       var timer = timers[i];
+                       if ( !timers[i]() && timers[i] === timer ) {
                                timers.splice(i--, 1);
                        }
                }

Download in other formats:

Original Format