From 8ec7a1b69ffd86edbef06e30ca4368600531e649 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 14 Dec 2012 11:13:46 -0500 Subject: All: Use .addBack() instead of .andSelf(). --- ui/jquery.ui.effect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/jquery.ui.effect.js') diff --git a/ui/jquery.ui.effect.js b/ui/jquery.ui.effect.js index d8d32e932..83d78a9b4 100644 --- a/ui/jquery.ui.effect.js +++ b/ui/jquery.ui.effect.js @@ -761,7 +761,7 @@ $.effects.animateClass = function( value, duration, easing, callback ) { var animated = $( this ), baseClass = animated.attr( "class" ) || "", applyClassChange, - allAnimations = o.children ? animated.find( "*" ).andSelf() : animated; + allAnimations = o.children ? animated.find( "*" ).addBack() : animated; // map the animated objects to store the original styles. allAnimations = allAnimations.map(function() { -- cgit v1.2.3