Skip to content

Commit

Permalink
Forgot the 'var' statement, causing variables to leak. (Bug jquery#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Sep 15, 2007
1 parent 3dabd7e commit dbca9cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fx.js
Expand Up @@ -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" ) {
Expand Down

0 comments on commit dbca9cb

Please sign in to comment.