X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=061d86c89e001b2ba434fa3ed28d22bae74470e2;hb=ab2d10c6d62c4d2b834337e238cf2a618eec4412;hp=e81b82b517c62a88296b9a28417d2dcd44fbd6a4;hpb=8613d9a93ac424ee5c60ba6f69751e93a2d179c6;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index e81b82b..061d86c 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1540,11 +1540,6 @@ jQuery.extend({ return elem.filter ? parseFloat( elem.filter.match(/alpha\(opacity=(.*)\)/)[1] ) / 100 : 1; - // Mozilla doesn't play well with opacity 1 - if ( name == "opacity" && jQuery.browser.mozilla && value == 1 ) - value = 0.9999; - - // Certain attributes only work when accessed via the old DOM 0 way if ( fix[name] ) { if ( value != undefined ) elem[fix[name]] = value; @@ -1586,7 +1581,8 @@ jQuery.extend({ makeArray: function( a ) { var r = []; - if ( a.constructor != Array ) + // Need to use typeof to fight Safari childNodes crashes + if ( typeof a != "array" ) for ( var i = 0, al = a.length; i < al; i++ ) r.push( a[i] ); else