Skip to content

Commit 8537a74

Browse files
rwaldrontimmywil
authored andcommitted
Landing pull request 467. Adds comments regarding opacity test adjustments.
More Details: - jquery#467
1 parent 624ee36 commit 8537a74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/unit/effects.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,10 +772,12 @@ jQuery.each( {
772772
f_o = f( elem, "opacity" );
773773
}
774774

775+
// The only time an _empty_string_ will be matched is in IE
776+
// otherwise, the correct values will be tested as usual
775777
if ( f_o === "" ) {
776778
f_o = 1;
777779
}
778-
780+
// See above
779781
if ( cur_o === "" ) {
780782
cur_o = 1;
781783
}

0 commit comments

Comments
 (0)