mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix for opera (class property is uppercase), thanks to nabble-egp-AT-a80.net
This commit is contained in:
parent
de282bc4d5
commit
7d0276b11d
@ -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