decoupling styles retrieval from the attr method
This commit is contained in:
parent
9476530fa1
commit
d7d908b05a
14 changed files with 4177 additions and 257 deletions
|
@ -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" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue