From e8ba367a58995b191706e5682eacba534cd25697 Mon Sep 17 00:00:00 2001 From: Corey Frang Date: Thu, 29 Sep 2011 20:45:23 -0400 Subject: [PATCH] Effects: fixing an animateClass issue when the class was empty --- ui/jquery.effects.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 699b41d81..3dc0a4e67 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -223,7 +223,7 @@ $.effects.animateClass = function( value, duration, easing, callback ) { return this.queue( function() { var animated = $( this ), - baseClass = animated.attr( "class" ), + baseClass = animated.attr( "class" ) || "", finalClass, allAnimations = o.children ? animated.find( "*" ).andSelf() : animated; -- 2.39.5