decoupling styles retrieval from the attr method

This commit is contained in:
Brandon Aaron 2009-03-22 23:25:03 +00:00
parent 9476530fa1
commit d7d908b05a
14 changed files with 4177 additions and 257 deletions

View file

@ -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" )