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.

click_handlers: Allow messages being edited/viewed to be clicked.

Joelutea840cd88ab93
diff --git a/web/src/click_handlers.js b/web/src/click_handlers.js
index e3d49ec55c6..d288aa781a3 100644
--- a/web/src/click_handlers.js
+++ b/web/src/click_handlers.js
@@ -177,13 +177,13 @@ export function initialize() {
const $row = $(this).closest(".message_row");
const id = rows.id($row);
+ message_lists.current.select_id(id);
+
if (message_edit.is_editing(id)) {
// Clicks on a message being edited shouldn't trigger a reply.
return;
}
- message_lists.current.select_id(id);
-
if (page_params.is_spectator) {
return;
}