From dbca9cbf629e282b511c32c8c870da37ef9fa92b Mon Sep 17 00:00:00 2001 From: John Resig Date: Sat, 15 Sep 2007 03:12:56 +0000 Subject: [PATCH] Forgot the 'var' statement, causing variables to leak. (Bug #1592) --- src/fx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fx.js b/src/fx.js index d5122f1b8..d75f3d0b0 100644 --- a/src/fx.js +++ b/src/fx.js @@ -100,8 +100,8 @@ jQuery.fn.extend({ start = e.cur(true) || 0; if ( parts ) { - end = parseFloat(parts[2]), - unit = parts[3] || "px"; + var end = parseFloat(parts[2]), + unit = parts[3] || "px"; // We need to compute starting value if ( unit != "px" ) { -- 2.39.5