mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
"fix for opera (class property is uppercase), thanks to nabble-egp-AT-a80.net"
This commit is contained in:
parent
f0f3152222
commit
da5ecb4c0b
@ -206,7 +206,7 @@ function set_style_by_class(t,c,p,v)
|
||||
for(var i = 0; i < elements.length; i++){
|
||||
var node = elements.item(i);
|
||||
for(var j = 0; j < node.attributes.length; j++) {
|
||||
if(node.attributes.item(j).nodeName == 'class') {
|
||||
if(node.attributes.item(j).nodeName.toLowerCase() == 'class') {
|
||||
if(node.attributes.item(j).nodeValue == c) {
|
||||
eval('node.style.' + p + " = '" +v + "'");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user