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.

user_card_popover: Stop exporting functions that shouldn't be.

Daniil Fadeevdcb3db37ced2
diff --git a/web/src/user_card_popover.js b/web/src/user_card_popover.js
index a928d169a79..6a42464700d 100644
--- a/web/src/user_card_popover.js
+++ b/web/src/user_card_popover.js
@@ -115,7 +115,7 @@ export function clear_for_testing() {
userlist_placement = "right";
}
-export function elem_to_user_id($elem) {
+function elem_to_user_id($elem) {
return Number.parseInt($elem.attr("data-user-id"), 10);
}
@@ -573,7 +573,7 @@ export function user_sidebar_popover_handle_keyboard(key) {
popover_items_handle_keyboard(key, $items);
}
-export function register_click_handlers() {
+function register_click_handlers() {
$("#main_div").on("click", ".sender_name, .message-avatar", function (e) {
const $row = $(this).closest(".message_row");
e.stopPropagation();