mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
click_handlers: Don't select message on clicking message_controls.
Note that opening the main message actions menu still selects the message due to explicit code in toggle_actions_popover.
This commit is contained in:
@@ -137,6 +137,11 @@ export function initialize() {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Don't select message on clicking message control buttons.
|
||||
if (target.parents(".message_controls").length > 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user