Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tippyjs: Hide recipient bar tooltips on msg_list rerender.

Aman Agrawalc756e950c713
diff --git a/web/src/tippyjs.js b/web/src/tippyjs.js
index a06e44bca4a..6d264924884 100644
--- a/web/src/tippyjs.js
+++ b/web/src/tippyjs.js
@@ -185,10 +185,8 @@ export function initialize() {
},
});
- delegate("body", {
- target: ".tippy-narrow-tooltip",
+ message_list_tooltip(".tippy-narrow-tooltip", {
delay: LONG_HOVER_DELAY,
- appendTo: () => document.body,
onCreate(instance) {
const content = instance.props.content + $("#narrow-hotkey-tooltip-template").html();
instance.setContent(parse_html(content));