Permalink
Browse files

Effects: Backporting e8ba367 to 1-8-stable - Fixes #8113 - addClass n…

…ot animating
  • Loading branch information...
gnarf committed Mar 27, 2012
1 parent 090ce43 commit e220cf2a7dc709fdbbdfeacbb29378e005a0afd8
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.effects.core.js
@@ -236,7 +236,7 @@ $.effects.animateClass = function(value, duration, easing, callback) {
originalStyleAttr = that.attr('style') || ' ',
originalStyle = filterStyles(getElementStyles.call(this)),
newStyle,
- className = that.attr('class');
+ className = that.attr('class') || "";
$.each(classAnimationActions, function(i, action) {
if (value[action]) {

0 comments on commit e220cf2

Please sign in to comment.