Skip to content

Commit e220cf2

Browse files
committed
Effects: Backporting e8ba367 to 1-8-stable - Fixes #8113 - addClass not animating
1 parent 090ce43 commit e220cf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/jquery.effects.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ $.effects.animateClass = function(value, duration, easing, callback) {
236236
originalStyleAttr = that.attr('style') || ' ',
237237
originalStyle = filterStyles(getElementStyles.call(this)),
238238
newStyle,
239-
className = that.attr('class');
239+
className = that.attr('class') || "";
240240

241241
$.each(classAnimationActions, function(i, action) {
242242
if (value[action]) {

0 commit comments

Comments
 (0)