X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Ffx.js;h=978ef7178dc92ecfd692dd78fca2e8c662b463ca;hb=d7d908b05a442745c1a90728805b74db0a7921cf;hp=63a3de7a6a350341eced86f611d880169b9a9ce3;hpb=9476530fa1e39ce1324e98f4dbb79576895372e5;p=jquery.git diff --git a/test/unit/fx.js b/test/unit/fx.js index 63a3de7..978ef71 100644 --- a/test/unit/fx.js +++ b/test/unit/fx.js @@ -365,7 +365,7 @@ jQuery.each( { if ( t_h == "hide"||t_h == "show" ) equals(this.style.height.indexOf(f_h), 0, "Height must be reset to " + f_h + ": " + this.style.height); - var cur_o = jQuery.attr(this.style, "opacity"); + var cur_o = jQuery.style(this, "opacity"); if ( cur_o !== "" ) cur_o = parseFloat( cur_o ); if ( t_o == "hide"||t_o == "show" )