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:
Aman Agrawal 2021-08-17 07:34:41 +00:00 committed by Tim Abbott
parent 4d98b0552e
commit da11141eae
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}