X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Ffx.js;h=87af7e0cb08c26f927c2ff552bfe0497def852a1;hb=500ff12d5da5e0d454663203101d65c9ed37cffa;hp=1028610e28494aa2ed8c077e6416ced78220dc12;hpb=a36771c83e8a8317b70ff2372cbbefd87e4d9dce;p=jquery.git diff --git a/src/fx.js b/src/fx.js index 1028610..87af7e0 100644 --- a/src/fx.js +++ b/src/fx.js @@ -114,6 +114,9 @@ jQuery.fn.extend({ if ( parts[1] ) end = ((parts[1] == "-" ? -1 : 1) * end) + start; + // Absolutely position numbers + if( typeof val == "number") end = val; + e.custom( start, end, unit ); } else e.custom( start, val, "" );