mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix #9505, percentage position values in Webkit, closes gh-825.
This commit is contained in:
committed by
Dave Methvin
parent
a101e81bde
commit
0b352f6cb5
2
src/effects.js
vendored
2
src/effects.js
vendored
@@ -21,7 +21,7 @@ var fxNow, timerId,
|
||||
// Iteratively approximate from a nonzero starting point
|
||||
// Prefer the current property, because this process will be trivial if it uses the same units
|
||||
// Fallback to end or a simple constant
|
||||
start = parseFloat( jQuery.style( tween.elem, prop ) ) || end || 1;
|
||||
start = parseFloat( jQuery.css( tween.elem, prop ) ) || end || 1;
|
||||
|
||||
do {
|
||||
// If previous iteration zeroed out, double until we get *something*
|
||||
|
||||
Reference in New Issue
Block a user