Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_link: Fix message link not copying.
Pratik Chanda1e52eb941c1d
diff --git a/web/src/hotkey.ts b/web/src/hotkey.tsindex 17c419516c4..f5737f6a937 100644--- a/web/src/hotkey.ts+++ b/web/src/hotkey.ts@@ -1503,7 +1503,7 @@ function process_hotkey(e: JQuery.KeyDownEvent, hotkey: Hotkey): boolean {show_copied_confirmation(util.the($message_time), {custom_content: $t({defaultMessage: "Message link copied!"}),});- });+ })();return true;}return false;diff --git a/web/src/message_actions_popover.ts b/web/src/message_actions_popover.tsindex eeaba807194..3e295eef301 100644--- a/web/src/message_actions_popover.ts+++ b/web/src/message_actions_popover.ts@@ -246,7 +246,7 @@ export function initialize({show_copied_confirmation(the($(instance.reference).closest(".message_controls")),);- });+ })();});},onHidden(instance) {