Skip to content

Instantly share code, notes, and snippets.

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 ),

Keybase proof

I hereby claim:

  • I am ddstreet on github.
  • I am ddstreet (https://keybase.io/ddstreet) on keybase.
  • I have a public key ASB5TJuzgPQxxrwlcaiHRDU-Cprx8kv4gt36oIO06WWqhwo

To claim this, I am signing this object: