Remove some tippy titles

pull/1/head
yflory 5 years ago
parent f78a4c538c
commit de5feeda13

@ -516,7 +516,6 @@ define([
var roomEl = h('div.cp-app-contacts-friend.cp-avatar', { var roomEl = h('div.cp-app-contacts-friend.cp-avatar', {
'data-key': id, 'data-key': id,
'data-user': room.isFriendChat ? userlist[0].curvePublic : '', 'data-user': room.isFriendChat ? userlist[0].curvePublic : '',
title: room.name
}); });
@ -889,6 +888,9 @@ define([
if (!data) { $button.hide(); } if (!data) { $button.hide(); }
$('.cp-app-contacts-friend[data-user="'+curve+'"]') $('.cp-app-contacts-friend[data-user="'+curve+'"]')
.find('.cp-mute-icon').show(); .find('.cp-mute-icon').show();
if ($('.cp-contacts-muted-table').find('.cp-contacts-muted-user').length === 0) {
UI.findOKButton().click();
}
}); });
}); });
return h('div.cp-contacts-muted-user', [ return h('div.cp-contacts-muted-user', [
@ -898,7 +900,7 @@ define([
]); ]);
}); });
var content = h('div', [ var content = h('div', [
h('h4', Messages.contacts_mutedUsers || 'Muted users...'), h('h4', Messages.contacts_mutedUsers),
h('div.cp-contacts-muted-table', rows) h('div.cp-contacts-muted-table', rows)
]); ]);
$button.off('click'); $button.off('click');

@ -729,9 +729,7 @@ define([
actions, actions,
status, status,
]; ];
var div = h('div.cp-team-roster-member', { var div = h('div.cp-team-roster-member', content);
title: data.displayName
}, content);
if (data.profile) { if (data.profile) {
$(div).dblclick(function (e) { $(div).dblclick(function (e) {
e.preventDefault(); e.preventDefault();

Loading…
Cancel
Save