Index: openacs-4/packages/xowiki/www/resources/chat-skins/chat-classic.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/resources/chat-skins/Attic/chat-classic.js,v diff -u -N -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/xowiki/www/resources/chat-skins/chat-classic.js 25 Feb 2019 15:48:45 -0000 1.1.2.1 +++ openacs-4/packages/xowiki/www/resources/chat-skins/chat-classic.js 26 Feb 2019 18:06:43 -0000 1.1.2.2 @@ -150,8 +150,7 @@ a.appendChild(user_block); // User picture - var show_avatar = document.getElementById('xowiki-chat-show-avatar'); - if (show_avatar != null) { + if (show_avatar) { wrapper = document.createElement('div'); wrapper.className = 'xowiki-chat-user-pic-wrap'; img = document.createElement('img');