Skip to content

Commit

Permalink
Effects: fixing an animateClass issue when the class was empty
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarf committed Sep 30, 2011
1 parent dda67fc commit e8ba367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.effects.core.js
Expand Up @@ -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;

Expand Down

0 comments on commit e8ba367

Please sign in to comment.