aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/fx.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2009-03-22 23:25:03 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2009-03-22 23:25:03 +0000
commitd7d908b05a442745c1a90728805b74db0a7921cf (patch)
tree8e6931ca3d45af940efd6e3fa506ed1f819cb84e /test/unit/fx.js
parent9476530fa1e39ce1324e98f4dbb79576895372e5 (diff)
downloadjquery-d7d908b05a442745c1a90728805b74db0a7921cf.tar.gz
jquery-d7d908b05a442745c1a90728805b74db0a7921cf.zip
decoupling styles retrieval from the attr method
Diffstat (limited to 'test/unit/fx.js')
-rw-r--r--test/unit/fx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/fx.js b/test/unit/fx.js
index 63a3de7a6..978ef7178 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" )