mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
tippy: Directly use content property to set content.
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user