X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=53ffc16e16e8e770b4a730e49d20bd06604f35f6;hb=d6ab3c71ac49f370367f28e0bdf433c173adbdb1;hp=567e6a0fa807350b87d7d77859f79b7965e2c5a6;hpb=83e98c28ef8aba11e525bf4266f8454232236ca0;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 567e6a0..53ffc16 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -56,7 +56,7 @@ var jQuery = function(a,c) { } // Watch for when an array is passed in - this.get( a.constructor == Array || a.length && !a.nodeType && a[0] != undefined && a[0].nodeType ? + this.get( a.constructor == Array || a.length && a != window && !a.nodeType && a[0] != undefined && a[0].nodeType ? // Assume that it is an array of DOM Elements jQuery.merge( a, [] ) : @@ -1472,7 +1472,7 @@ jQuery.extend({ if ( p == "height" || p == "width" ) { var old = {}, oHeight, oWidth, d = ["Top","Bottom","Right","Left"]; - for ( var i in d ) { + for ( var i=0; iHello

Hello Again