Fixed #1942 but running jQuery.css() before jQuery.curCSS(). This way when the prope...
[jquery.git] / src / fx.js
index e4c1015..9bfe999 100644 (file)
--- 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