View gist:866242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js | |
index 71f775a..9046eff 100644 | |
--- a/ui/jquery.effects.core.js | |
+++ b/ui/jquery.effects.core.js | |
@@ -232,9 +232,9 @@ $.effects.animateClass = function( value, duration, easing, callback ) { | |
return this.queue( 'fx', function() { | |
var that = $( this ), | |
- originalStyleAttr = that.attr( 'style' ) || ' ', | |
+ originalStyleObj = $.extend( {}, that[ 0 ].style ), |