Skip to content
Permalink
Browse files

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

  • Loading branch information
jeresig committed Sep 15, 2007
1 parent 3dabd7e commit dbca9cbf629e282b511c32c8c870da37ef9fa92b
Showing with 2 additions and 2 deletions.
  1. +2 −2 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" ) {

0 comments on commit dbca9cb

Please sign in to comment.
You can’t perform that action at this time.