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.

reactions: Add back missing e.stopPropagation().

Gittenburgbc1f2fa80e45
diff --git a/static/js/click_handlers.js b/static/js/click_handlers.js
index dfceb8ef617..35751019563 100644
--- a/static/js/click_handlers.js
+++ b/static/js/click_handlers.js
@@ -170,7 +170,9 @@ exports.initialize = function () {
message_flags.toggle_starred_and_update_server(message);
});
- $("#main_div").on("click", ".message_reaction", function () {
+ $("#main_div").on("click", ".message_reaction", function (e) {
+ e.stopPropagation();
+ emoji_picker.hide_emoji_popover();
const local_id = $(this).attr('data-reaction-id');
const message_id = rows.get_message_id(this);
reactions.process_reaction_click(message_id, local_id);