mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Effects: fixing an animateClass issue when the class was empty
This commit is contained in:
parent
dda67fc171
commit
e8ba367a58
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user