diff --git a/converse.js b/converse.js index fc0b5e109..5f47ef34d 100644 --- a/converse.js +++ b/converse.js @@ -391,8 +391,7 @@ } } } else if (_.has(changed.changes, 'status')) { - this.$el.find('p.user-custom-message').text(item.get('status')); - this.$el.find('p.user-custom-message').attr('title', item.get('status')); + this.$el.find('p.user-custom-message').text(item.get('status')).attr('title', item.get('status')); } } }, this); @@ -660,8 +659,8 @@ template: _.template( '
' + - '
{{ name }}
' + 'X' + + '
{{ name }}
' + '

' + '

' + '
' + @@ -719,7 +718,7 @@ subject = $(message).children('subject').text(); if (subject) { - this.$el.find('.chatroom-topic').text(subject); + this.$el.find('.chatroom-topic').text(subject).attr('title', subject); } if (!body) { if (composing.length > 0) {