aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects/Tween.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/Tween.js')
-rw-r--r--src/effects/Tween.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/effects/Tween.js b/src/effects/Tween.js
index 9acd8d0cc..57f80908e 100644
--- a/src/effects/Tween.js
+++ b/src/effects/Tween.js
@@ -78,7 +78,9 @@ Tween.propHooks = {
// Use .style if available and use plain properties where available.
if ( jQuery.fx.step[ tween.prop ] ) {
jQuery.fx.step[ tween.prop ]( tween );
- } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {
+ } else if ( tween.elem.style &&
+ ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null ||
+ jQuery.cssHooks[ tween.prop ] ) ) {
jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
} else {
tween.elem[ tween.prop ] = tween.now;