aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.core.js
diff options
context:
space:
mode:
authorCorey Frang <gnarf@gnarf.net>2011-09-29 20:45:23 -0400
committerCorey Frang <gnarf@gnarf.net>2011-09-29 20:45:23 -0400
commite8ba367a58995b191706e5682eacba534cd25697 (patch)
treeed65240eaa32a9c922254231b14395759fc7dc4e /ui/jquery.effects.core.js
parentdda67fc171d82523fa63bc63c011ebd4351911c9 (diff)
downloadjquery-ui-e8ba367a58995b191706e5682eacba534cd25697.tar.gz
jquery-ui-e8ba367a58995b191706e5682eacba534cd25697.zip
Effects: fixing an animateClass issue when the class was empty
Diffstat (limited to 'ui/jquery.effects.core.js')
-rw-r--r--ui/jquery.effects.core.js2
1 files changed, 1 insertions, 1 deletions
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;