diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2011-10-27 15:30:12 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2011-10-27 15:30:12 -0400 |
commit | 0b4ac1d2be17a35edaba2609ae61469714f922e3 (patch) | |
tree | b93452b7f5e178340555ab33b778e37cc56bb729 /src | |
parent | 4fb7202e0a96c03d3571ffddc3c57481226b0ae0 (diff) | |
download | jquery-0b4ac1d2be17a35edaba2609ae61469714f922e3.tar.gz jquery-0b4ac1d2be17a35edaba2609ae61469714f922e3.zip |
Cleanup spacing in effects.js. Fixes #10601
Diffstat (limited to 'src')
-rw-r--r-- | src/effects.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects.js b/src/effects.js index 9ed8e5143..458b1eae7 100644 --- a/src/effects.js +++ b/src/effects.js @@ -203,7 +203,7 @@ jQuery.fn.extend({ // Tracks whether to show or hide based on private // data attached to the element - method = jQuery._data( this, "toggle" + p ) || (val === "toggle" ? hidden ? "show" : "hide" : 0); + method = jQuery._data( this, "toggle" + p ) || ( val === "toggle" ? hidden ? "show" : "hide" : 0 ); if ( method ) { jQuery._data( this, "toggle" + p, method === "show" ? "hide" : "show" ); e[ method ](); @@ -222,7 +222,7 @@ jQuery.fn.extend({ // We need to compute starting value if ( unit !== "px" ) { jQuery.style( this, p, (end || 1) + unit); - start = ((end || 1) / e.cur()) * start; + start = ( (end || 1) / e.cur() ) * start; jQuery.style( this, p, start + unit); } @@ -408,7 +408,7 @@ jQuery.fx.prototype = { this.options.step.call( this.elem, this.now, this ); } - (jQuery.fx.step[ this.prop ] || jQuery.fx.step._default)( this ); + ( jQuery.fx.step[ this.prop ] || jQuery.fx.step._default )( this ); }, // Get the current size |