Set title attr on chatroom topic as well. Tweak CSS
This commit is contained in:
parent
c1eb35324d
commit
54b7565e3b
@ -391,8 +391,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (_.has(changed.changes, 'status')) {
|
} else if (_.has(changed.changes, 'status')) {
|
||||||
this.$el.find('p.user-custom-message').text(item.get('status'));
|
this.$el.find('p.user-custom-message').text(item.get('status')).attr('title', item.get('status'));
|
||||||
this.$el.find('p.user-custom-message').attr('title', item.get('status'));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, this);
|
}, this);
|
||||||
@ -660,8 +659,8 @@
|
|||||||
|
|
||||||
template: _.template(
|
template: _.template(
|
||||||
'<div class="chat-head chat-head-chatroom">' +
|
'<div class="chat-head chat-head-chatroom">' +
|
||||||
'<div class="chat-title"> {{ name }} </div>' +
|
|
||||||
'<a href="javascript:void(0)" class="chatbox-button close-chatbox-button">X</a>' +
|
'<a href="javascript:void(0)" class="chatbox-button close-chatbox-button">X</a>' +
|
||||||
|
'<div class="chat-title"> {{ name }} </div>' +
|
||||||
'<p class="chatroom-topic"><p/>' +
|
'<p class="chatroom-topic"><p/>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'<div>' +
|
'<div>' +
|
||||||
@ -719,7 +718,7 @@
|
|||||||
subject = $(message).children('subject').text();
|
subject = $(message).children('subject').text();
|
||||||
|
|
||||||
if (subject) {
|
if (subject) {
|
||||||
this.$el.find('.chatroom-topic').text(subject);
|
this.$el.find('.chatroom-topic').text(subject).attr('title', subject);
|
||||||
}
|
}
|
||||||
if (!body) {
|
if (!body) {
|
||||||
if (composing.length > 0) {
|
if (composing.length > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user