diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-07-09 21:38:11 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-07-09 21:39:22 -0400 |
commit | 8f01b92b8fd85a66f2cba671f8b9ff6f7095c34b (patch) | |
tree | 6120b02292d65f3ac1248a7c82aae5fbbb505d7d /src/effects.js | |
parent | f30f7732e7775b6e417c4c22ced7adb2bf76bf89 (diff) | |
download | jquery-8f01b92b8fd85a66f2cba671f8b9ff6f7095c34b.tar.gz jquery-8f01b92b8fd85a66f2cba671f8b9ff6f7095c34b.zip |
Follow the style guide, lose 72 bytes! Closes gh-840.
Diffstat (limited to 'src/effects.js')
-rw-r--r-- | src/effects.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects.js b/src/effects.js index 0716248f1..ad4152a20 100644 --- a/src/effects.js +++ b/src/effects.js @@ -428,7 +428,7 @@ Tween.propHooks = { function isHidden( elem, el ) { elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument.documentElement, elem ); + return curCSS( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument.documentElement, elem ); } jQuery.each([ "toggle", "show", "hide" ], function( i, name ) { @@ -529,7 +529,7 @@ function genFx( type, includeWidth ) { // if we include width, step value is 1 to do all cssExpand values, // if we don't include width, step value is 2 to skip over Left and Right for( ; i < 4 ; i += 2 - includeWidth ) { - which = jQuery.cssExpand[ i ]; + which = cssExpand[ i ]; attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; } |