Roo/Element.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 26 Jul 2010 09:57:43 +0000 (17:57 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 26 Jul 2010 09:57:43 +0000 (17:57 +0800)
Roo/Element.js

index ed7df3a..2795061 100644 (file)
@@ -750,8 +750,8 @@ if(opt.anim.isAnimated()){
                 if(!(camel = propCache[prop])){
                     camel = propCache[prop] = prop.replace(camelRe, camelFn);
                 }
-                if(prop == 'float'){ // not sure why this is not here..
-                    prop = "cssFloat";
+                if(camel == 'float'){ // not sure why this is not here..
+                    camel = "cssFloat";
                 }
                 if(camel == 'opacity') {
                     this.setOpacity(value);