X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=1535fb5d4129ec07bc7ad16ffd480cc53a485350;hb=cb53fc02b68ca267f9eddd8fd4f5d92ef08ae022;hp=6f35c999f6f595d773f514b08cd7b9515b290d81;hpb=ba7dc19416cf087c6b9c590234bac78b218d5874;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 6f35c99..1535fb5 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1384,7 +1384,7 @@ jQuery.extend({ each: function( obj, fn, args ) { if ( obj.length == undefined ) for ( var i in obj ) - if ( fn.apply( obj[i], args || [i, obj[i]] ) === false ) break; + fn.apply( obj[i], args || [i, obj[i]] ); else for ( var i = 0; i < obj.length; i++ ) if ( fn.apply( obj[i], args || [i, obj[i]] ) === false ) break;