diff --git a/converse.js b/converse.js index 26161a171..fb307241e 100644 --- a/converse.js +++ b/converse.js @@ -792,7 +792,7 @@ }, initialize: function () { - $('body').append($(this.el).hide()); + $('body').append(this.$el.hide()); }, template: _.template( @@ -905,8 +905,8 @@ break; case 'help': $chat_content = this.$el.find('.chat-content'); - $chat_content.append($('
/help: Show this menu
')); - $chat_content.append($('
/topic: Set chatroom topic
')); + $chat_content.append('
/help: Show this menu
' + + '
/topic: Set chatroom topic
'); /* TODO: $chat_content.append($('
/kick: Kick out user
')); $chat_content.append($('
/ban: Ban user
'));