Index: openacs-4/packages/xowiki/www/resources/chat-common.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/resources/Attic/chat-common.js,v diff -u -r1.5 -r1.6 --- openacs-4/packages/xowiki/www/resources/chat-common.js 21 Nov 2018 11:29:30 -0000 1.5 +++ openacs-4/packages/xowiki/www/resources/chat-common.js 21 Nov 2018 11:32:06 -0000 1.6 @@ -167,9 +167,9 @@ wrapper = document.createElement('div'); wrapper.className = 'xowiki-chat-user-pic-wrap'; img = document.createElement('img'); - img.src = '/shared/portrait-bits.tcl?user_id=' + user_id - img.className = 'xowiki-chat-user-pic'; - img.style = 'border-color:' + color; + img.setAttribute("src", "/shared/portrait-bits.tcl?user_id=" + user_id); + img.setAttribute("class", "xowiki-chat-user-pic"); + img.setAttribute("style", "border-color:" + color); wrapper.appendChild(img); user_block.appendChild(wrapper);