Skip to content
Permalink
Browse files

Fixed a loop that only worked in webkit.

  • Loading branch information...
jaubourg authored and jaubourg committed Dec 20, 2010
1 parent 39d96ab commit 2fec5dbecd3dc6d2acfcb4df28d29638637ac579
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core.js
@@ -800,7 +800,7 @@ jQuery.extend({
deferred = {

// then( f1, f2, ...)
then: function() {
then: function then() {

if ( ! cancelled ) {

@@ -820,7 +820,7 @@ jQuery.extend({
elem = args[ i ];
type = jQuery.type( elem );
if ( type === "array" ) {
deferred.then.apply( deferred , elem );
then.apply( this , elem );
} else if ( type === "function" ) {
callbacks.push( elem );
}

0 comments on commit 2fec5db

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.