mirror of https://github.com/zulip/zulip.git
tippy: Directly use `content` property to set content.
This commit is contained in:
parent
00752f8059
commit
65f9dbc5f3
|
@ -467,13 +467,9 @@ export function initialize() {
|
|||
delegate("body", {
|
||||
target: "#show_all_private_messages",
|
||||
placement: "bottom",
|
||||
onShow(instance) {
|
||||
instance.setContent(
|
||||
$t({
|
||||
defaultMessage: "All private messages (P)",
|
||||
}),
|
||||
);
|
||||
},
|
||||
content: $t({
|
||||
defaultMessage: "All private messages (P)",
|
||||
}),
|
||||
appendTo: () => document.body,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue