Commit dbca9cbf authored by John Resig's avatar John Resig

Forgot the 'var' statement, causing variables to leak. (Bug #1592)

parent 3dabd7ec
...@@ -100,8 +100,8 @@ jQuery.fn.extend({ ...@@ -100,8 +100,8 @@ jQuery.fn.extend({
start = e.cur(true) || 0; start = e.cur(true) || 0;
if ( parts ) { if ( parts ) {
end = parseFloat(parts[2]), var end = parseFloat(parts[2]),
unit = parts[3] || "px"; unit = parts[3] || "px";
// We need to compute starting value // We need to compute starting value
if ( unit != "px" ) { if ( unit != "px" ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment