From d742cd6a887ea81c58359f8083930ee141c0bade Mon Sep 17 00:00:00 2001 From: gnarf Date: Sat, 5 Mar 2011 16:17:54 -0600 Subject: [PATCH] Effects: Minor whitespace improvements --- ui/jquery.effects.core.js | 1 - ui/jquery.effects.highlight.js | 1 + ui/jquery.effects.transfer.js | 12 ++++++------ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 6618a2236..cbfd4fbe1 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -487,7 +487,6 @@ $.fn.extend({ }); } } - return effectMethod.call(this, args); }, diff --git a/ui/jquery.effects.highlight.js b/ui/jquery.effects.highlight.js index 6ca0d53c2..2049ec015 100644 --- a/ui/jquery.effects.highlight.js +++ b/ui/jquery.effects.highlight.js @@ -26,6 +26,7 @@ $.effects.highlight = function(o) { } $.effects.save(elem, props); + elem .show() .css({ diff --git a/ui/jquery.effects.transfer.js b/ui/jquery.effects.transfer.js index 9765d4944..b57ac51b9 100644 --- a/ui/jquery.effects.transfer.js +++ b/ui/jquery.effects.transfer.js @@ -14,8 +14,8 @@ $.effects.transfer = function(o) { return this.queue(function() { - var elem = $(this), - target = $(o.to), + var elem = $( this ), + target = $( o.to ), endPosition = target.offset(), animation = { top: endPosition.top, @@ -24,9 +24,9 @@ $.effects.transfer = function(o) { width: target.innerWidth() }, startPosition = elem.offset(), - transfer = $('
') - .appendTo(document.body) - .addClass(o.className) + transfer = $( '
' ) + .appendTo( document.body ) + .addClass( o.className ) .css({ top: startPosition.top, left: startPosition.left, @@ -34,7 +34,7 @@ $.effects.transfer = function(o) { width: elem.innerWidth(), position: 'absolute' }) - .animate(animation, o.duration, o.easing, function() { + .animate( animation, o.duration, o.easing, function() { transfer.remove(); (o.complete && o.complete.apply(elem[0], arguments)); elem.dequeue(); -- 2.39.5