mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
Previously, clicking the codeblock copy button also triggered the compose box to open. This is because of the fact that ClipBoard.js lacks the ability to stopPropogate the event when clicked. Rectified by explicitly defining the copy click event within `is_clickable_message_element`, which disallows the triggering of reply box. Effectively a workaround for https://github.com/zenorocha/clipboard.js/pull/475. Fixes #17861.
35 KiB
35 KiB