mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Effects: fixing an animateClass issue when the class was empty
This commit is contained in:
2
ui/jquery.effects.core.js
vendored
2
ui/jquery.effects.core.js
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user