diff options
author | Corey Frang <gnarf@gnarf.net> | 2012-03-27 14:06:49 -0500 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2012-03-27 14:13:04 -0500 |
commit | e220cf2a7dc709fdbbdfeacbb29378e005a0afd8 (patch) | |
tree | 3e259eccd249f59b3d5e95306d12275808e72213 | |
parent | 090ce4369d12751f2e55e62f6cc7f7fbc5dc6f2a (diff) | |
download | jquery-ui-e220cf2a7dc709fdbbdfeacbb29378e005a0afd8.tar.gz jquery-ui-e220cf2a7dc709fdbbdfeacbb29378e005a0afd8.zip |
Effects: Backporting e8ba367 to 1-8-stable - Fixes #8113 - addClass not animating
-rw-r--r-- | ui/jquery.effects.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 74b29af26..27bbe7c31 100644 --- a/ui/jquery.effects.core.js +++ b/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]) { |