Commit 0b4ac1d2 authored by Rick Waldron's avatar Rick Waldron

Cleanup spacing in effects.js. Fixes #10601

parent 4fb7202e
...@@ -203,7 +203,7 @@ jQuery.fn.extend({ ...@@ -203,7 +203,7 @@ jQuery.fn.extend({
// Tracks whether to show or hide based on private // Tracks whether to show or hide based on private
// data attached to the element // 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 ) { if ( method ) {
jQuery._data( this, "toggle" + p, method === "show" ? "hide" : "show" ); jQuery._data( this, "toggle" + p, method === "show" ? "hide" : "show" );
e[ method ](); e[ method ]();
...@@ -222,7 +222,7 @@ jQuery.fn.extend({ ...@@ -222,7 +222,7 @@ jQuery.fn.extend({
// We need to compute starting value // We need to compute starting value
if ( unit !== "px" ) { if ( unit !== "px" ) {
jQuery.style( this, p, (end || 1) + unit); 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); jQuery.style( this, p, start + unit);
} }
...@@ -408,7 +408,7 @@ jQuery.fx.prototype = { ...@@ -408,7 +408,7 @@ jQuery.fx.prototype = {
this.options.step.call( this.elem, this.now, this ); 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 // Get the current size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment