Roo/Element.js
[roojs1] / 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);