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.

hotkey: Add "enter" support for user info popover from message.

YashRE42b15f5c7214a3
diff --git a/static/js/hotkey.js b/static/js/hotkey.js
index 07bb29549b6..bfc20dc995c 100644
--- a/static/js/hotkey.js
+++ b/static/js/hotkey.js
@@ -350,6 +350,11 @@ export function process_enter_key(e) {
return true;
}
+ if (popovers.message_info_popped()) {
+ popovers.user_info_popover_for_message_handle_keyboard("enter");
+ return true;
+ }
+
if (stream_popover.stream_popped()) {
stream_popover.stream_sidebar_menu_handle_keyboard("enter");
return true;