diff --git a/mod/chat/gui_ajax/module.js b/mod/chat/gui_ajax/module.js index 71c02419d03c2..fc4897433ddac 100644 --- a/mod/chat/gui_ajax/module.js +++ b/mod/chat/gui_ajax/module.js @@ -247,11 +247,11 @@ M.mod_chat_ajax.init = function(Y, cfg) { li.all('td').item(1).append(Y.Node.create(''+ users[i].name+'')); } else { li.all('td').item(1).append(Y.Node.create('
'+users[i].name+'
')); - var talk = Y.Node.create(''+M.str.chat.talk+' '); + var talk = Y.Node.create(''+M.str.chat.talk+''); talk.on('click', this.talkto, this, users[i].name); var beep = Y.Node.create(''+M.str.chat.beep+''); beep.on('click', this.send, this, users[i].id); - li.all('td').item(1).append(Y.Node.create('
').append(talk).append(beep)); + li.all('td').item(1).append(Y.Node.create('
').append(talk).append(' ').append(beep)); } list.append(li); }