Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
buddy_list_tooltip: Directly get target node.
Aman Agrawal13e09860918f
diff --git a/web/src/click_handlers.js b/web/src/click_handlers.jsindex f16b1ee7749..778c8f84f90 100644--- a/web/src/click_handlers.js+++ b/web/src/click_handlers.js@@ -532,8 +532,8 @@ export function initialize() {const title_data = buddy_data.get_title_data(user_id_string, false);// `target_node` is the `ul` element since it stays in DOM even after updates.- function get_target_node(tippy_instance) {- return $(tippy_instance.reference).parents("ul").get(0);+ function get_target_node() {+ return document.querySelector("#user_presences");}function check_reference_removed(mutation, instance) {