Fix issues with the previous commit

pull/1/head
yflory 5 years ago
parent 7c17d34d12
commit fce3c742d9

@ -1036,7 +1036,7 @@ define([
} }
}, },
//arrowType: 'round', //arrowType: 'round',
dynamicTitle: true, dynamicTitle: false,
arrowTransform: 'scale(2)', arrowTransform: 'scale(2)',
zIndex: 100000001 zIndex: 100000001
}); });
@ -1079,6 +1079,7 @@ define([
} }
} }
if (mutation.type === "attributes" && mutation.attributeName === "title") { if (mutation.type === "attributes" && mutation.attributeName === "title") {
mutation.target.fixHTML = false;
addTippy(0, mutation.target); addTippy(0, mutation.target);
} }
}); });

@ -2778,7 +2778,7 @@ define([
common.displayAvatar($(avatar), data.avatar, data.name); common.displayAvatar($(avatar), data.avatar, data.name);
return h('div.cp-creation-team', { return h('div.cp-creation-team', {
'data-id': id, 'data-id': id,
title: Util.fixHTML(data.name), title: data.name,
},[ },[
avatar, avatar,
h('span.cp-creation-team-name', data.name) h('span.cp-creation-team-name', data.name)

@ -831,7 +831,6 @@ define([
var md = common.getMetadataMgr().getMetadata(); var md = common.getMetadataMgr().getMetadata();
var name = md.title || md.defaultTitle; var name = md.title || md.defaultTitle;
$userlist.find(dataQuery(padChat)).find('.cp-app-contacts-name').text(name); $userlist.find(dataQuery(padChat)).find('.cp-app-contacts-name').text(name);
$userlist.find(dataQuery(padChat)).attr('title', name);
$messages.find(dataQuery(padChat) + ' .cp-app-contacts-header .cp-app-contacts-name') $messages.find(dataQuery(padChat) + ' .cp-app-contacts-header .cp-app-contacts-name')
.text(name); .text(name);

Loading…
Cancel
Save