diff options
author | John Resig <jeresig@gmail.com> | 2007-09-15 03:12:56 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-09-15 03:12:56 +0000 |
commit | dbca9cbf629e282b511c32c8c870da37ef9fa92b (patch) | |
tree | 192e42064a4acf0c60a42d86e7949d17efcdf652 | |
parent | 3dabd7ec301770a2a6bb8457c96d630d42376719 (diff) | |
download | jquery-dbca9cbf629e282b511c32c8c870da37ef9fa92b.tar.gz jquery-dbca9cbf629e282b511c32c8c870da37ef9fa92b.zip |
Forgot the 'var' statement, causing variables to leak. (Bug #1592)
-rw-r--r-- | src/fx.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" ) { |