aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.effect.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-12-14 11:13:46 -0500
committerScott González <scott.gonzalez@gmail.com>2012-12-14 11:13:50 -0500
commit8ec7a1b69ffd86edbef06e30ca4368600531e649 (patch)
treef1141afd8ad47e88261338907aadb35a0f1b9f18 /ui/jquery.ui.effect.js
parent80e46c93a84c8720cbd4aa206c46e4ac2a2d84f7 (diff)
downloadjquery-ui-8ec7a1b69ffd86edbef06e30ca4368600531e649.tar.gz
jquery-ui-8ec7a1b69ffd86edbef06e30ca4368600531e649.zip
All: Use .addBack() instead of .andSelf().
Diffstat (limited to 'ui/jquery.ui.effect.js')
-rw-r--r--ui/jquery.ui.effect.js2
1 files changed, 1 insertions, 1 deletions
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() {