diff options
author | felix <felix8a@gmail.com> | 2012-03-29 14:59:19 -0700 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-03-29 18:12:47 -0400 |
commit | 6fb584e7007bb7dc539d9c7266d17833c52a7830 (patch) | |
tree | 49363a28343e96046ca43dbedaae9cdf22df805c /ui/jquery.effects.core.js | |
parent | c45911c98df6af6bb679fe256ae23bab4e7f036f (diff) | |
download | jquery-ui-6fb584e7007bb7dc539d9c7266d17833c52a7830.tar.gz jquery-ui-6fb584e7007bb7dc539d9c7266d17833c52a7830.zip |
Fixes #6979 - Several components are leaking variables into the global scope.
Diffstat (limited to 'ui/jquery.effects.core.js')
-rw-r--r-- | ui/jquery.effects.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 27bbe7c31..b3f99a534 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -419,7 +419,7 @@ $.extend($.effects, { setTransition: function(element, list, factor, value) { value = value || {}; $.each(list, function(i, x){ - unit = element.cssUnit(x); + var unit = element.cssUnit(x); if (unit[0] > 0) value[x] = unit[0] * factor + unit[1]; }); return value; |