Landing pull request 467. Adds comments regarding opacity test adjustments.

More Details:
 - https://github.com/jquery/jquery/pull/467
This commit is contained in:
Rick Waldron
2011-08-17 17:06:21 -04:00
committed by timmywil
parent 624ee36646
commit 8537a740cd

View File

@@ -772,10 +772,12 @@ jQuery.each( {
f_o = f( elem, "opacity" );
}
// The only time an _empty_string_ will be matched is in IE
// otherwise, the correct values will be tested as usual
if ( f_o === "" ) {
f_o = 1;
}
// See above
if ( cur_o === "" ) {
cur_o = 1;
}