Ticket #3929: style.patch

File style.patch, 455 bytes (added by guest, 18 months ago)
  • src/html/style.js

     
    6868                        node.className = cs; 
    6969                }else if(node.setAttribute){ 
    7070                        node.setAttribute("class", classStr); 
    71                         node.className = cs; 
     71                        // try to also set the node className directly, redundantly? 
     72                        try { node.className = cs; } catch (e) { } 
    7273                }else{ 
    7374                        return false; 
    7475                }