mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Forgot the 'var' statement, causing variables to leak. (Bug #1592)
This commit is contained in:
parent
3dabd7ec30
commit
dbca9cbf62
@ -100,8 +100,8 @@ jQuery.fn.extend({
|
|||||||
start = e.cur(true) || 0;
|
start = e.cur(true) || 0;
|
||||||
|
|
||||||
if ( parts ) {
|
if ( parts ) {
|
||||||
end = parseFloat(parts[2]),
|
var end = parseFloat(parts[2]),
|
||||||
unit = parts[3] || "px";
|
unit = parts[3] || "px";
|
||||||
|
|
||||||
// We need to compute starting value
|
// We need to compute starting value
|
||||||
if ( unit != "px" ) {
|
if ( unit != "px" ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user