X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Ffx.js;h=9bfe99962a3220606587e1dd9cc5c4ec602b9556;hb=2ccd2cb36be6169afee3bd6e82ba3539f432c73f;hp=e4c1015611948bde659ceb1b972829e2adcf4473;hpb=b9371a6ca4b756c4b4266a08336e80f715b66ad3;p=jquery.git diff --git a/src/fx.js b/src/fx.js index e4c1015..9bfe999 100644 --- a/src/fx.js +++ b/src/fx.js @@ -254,8 +254,8 @@ jQuery.fx.prototype = { if ( this.elem[this.prop] != null && this.elem.style[this.prop] == null ) return this.elem[ this.prop ]; - var r = parseFloat(jQuery.curCSS(this.elem, this.prop, force)); - return r && r > -10000 ? r : parseFloat(jQuery.css(this.elem, this.prop)) || 0; + var r = parseFloat(jQuery.css(this.elem, this.prop, force)); + return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0; }, // Start an animation from one number to another