projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda0648
)
Roo/DomHelper.js
author
edward
<edward@roojs.com>
Wed, 27 Jan 2016 08:40:45 +0000
(16:40 +0800)
committer
edward
<edward@roojs.com>
Wed, 27 Jan 2016 08:40:45 +0000
(16:40 +0800)
Roo/DomHelper.js
patch
|
blob
|
history
diff --git
a/Roo/DomHelper.js
b/Roo/DomHelper.js
index
fee900c
..
5d55c0d
100644
(file)
--- a/
Roo/DomHelper.js
+++ b/
Roo/DomHelper.js
@@
-136,8
+136,10
@@
Roo.DomHelper = function(){
if(attr=="cls" && Roo.isIE){
el.className = o["cls"];
}else{
- if(useSet) el.setAttribute(attr=="cls" ? 'class' : attr, o[attr]);
- else el[attr] = o[attr];
+ if(useSet) { el.setAttribute(attr=="cls" ? 'class' : attr, o[attr]);}
+ else {
+ el[attr] = o[attr];
+ }
}
}
Roo.DomHelper.applyStyles(el, o.style);