Fix issues with the previous commit

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

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

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

@ -831,7 +831,6 @@ define([
var md = common.getMetadataMgr().getMetadata();
var name = md.title || md.defaultTitle;
$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')
.text(name);

Loading…
Cancel
Save