diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2016-03-31 00:30:21 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-04-13 11:32:04 -0400 |
commit | ba7829f34ef3b0f207cc62f10b8c5c8b4c19c62a (patch) | |
tree | b0c49330d030f823351390bcee5abb8106dacdb7 /ui/effects/effect-slide.js | |
parent | 3858df5d5b3da2cec040d65d88a19198a3fa4e43 (diff) | |
download | jquery-ui-ba7829f34ef3b0f207cc62f10b8c5c8b4c19c62a.tar.gz jquery-ui-ba7829f34ef3b0f207cc62f10b8c5c8b4c19c62a.zip |
Effects: Fix line length issues
Ref gh-1690
Diffstat (limited to 'ui/effects/effect-slide.js')
-rw-r--r-- | ui/effects/effect-slide.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/effects/effect-slide.js b/ui/effects/effect-slide.js index 12e8c9ca8..3ba7a2edc 100644 --- a/ui/effects/effect-slide.js +++ b/ui/effects/effect-slide.js @@ -42,7 +42,8 @@ return $.effects.define( "slide", "show", function( options, done ) { direction = options.direction || "left", ref = ( direction === "up" || direction === "down" ) ? "top" : "left", positiveMotion = ( direction === "up" || direction === "left" ), - distance = options.distance || element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ), + distance = options.distance || + element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ), animation = {}; $.effects.createPlaceholder( element ); |