projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0167d0b
)
Roo/Element.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 26 Jul 2010 09:57:35 +0000
(17:57 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 26 Jul 2010 09:57:35 +0000
(17:57 +0800)
Roo/Element.js
patch
|
blob
|
history
diff --git
a/Roo/Element.js
b/Roo/Element.js
index
2383150
..
ed7df3a
100644
(file)
--- a/
Roo/Element.js
+++ b/
Roo/Element.js
@@
-746,12
+746,13
@@
if(opt.anim.isAnimated()){
setStyle : function(prop, value){
if(typeof prop == "string"){
var camel;
- if(prop == 'float'){ // not sure why this is not here..
- prop = "cssFloat";
- }
+
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 == 'opacity') {
this.setOpacity(value);
}else{