mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Merge branch 'unusedTrue' of http://github.com/lrbabe/jquery into lrbabe-unusedTrue
This commit is contained in:
commit
36143ce633
4
src/effects.js
vendored
4
src/effects.js
vendored
@ -174,7 +174,7 @@ jQuery.fn.extend({
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
var parts = rfxnum.exec(val),
|
var parts = rfxnum.exec(val),
|
||||||
start = e.cur(true) || 0;
|
start = e.cur() || 0;
|
||||||
|
|
||||||
if ( parts ) {
|
if ( parts ) {
|
||||||
var end = parseFloat( parts[2] ),
|
var end = parseFloat( parts[2] ),
|
||||||
@ -183,7 +183,7 @@ jQuery.fn.extend({
|
|||||||
// We need to compute starting value
|
// We need to compute starting value
|
||||||
if ( unit !== "px" ) {
|
if ( unit !== "px" ) {
|
||||||
jQuery.style( self, name, (end || 1) + unit);
|
jQuery.style( self, name, (end || 1) + unit);
|
||||||
start = ((end || 1) / e.cur(true)) * start;
|
start = ((end || 1) / e.cur()) * start;
|
||||||
jQuery.style( self, name, start + unit);
|
jQuery.style( self, name, start + unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user