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.

compose_call_ui: Rename target_textarea to $target_textarea.

afeefuddin7b5ccf0c9878
diff --git a/web/src/compose_call_ui.ts b/web/src/compose_call_ui.ts
index befae7efced..908f334b6cd 100644
--- a/web/src/compose_call_ui.ts
+++ b/web/src/compose_call_ui.ts
@@ -36,18 +36,18 @@ export function update_audio_chat_button_display(): void {
function insert_video_call_url(
url: string,
- target_textarea: JQuery<HTMLTextAreaElement> | undefined,
+ $target_textarea: JQuery<HTMLTextAreaElement> | undefined,
): void {
const link_text = $t({defaultMessage: "Join video call."});
- compose_ui.insert_syntax_and_focus(`[${link_text}](${url})`, target_textarea, "block", 1);
+ compose_ui.insert_syntax_and_focus(`[${link_text}](${url})`, $target_textarea, "block", 1);
}
function insert_audio_call_url(
url: string,
- target_textarea: JQuery<HTMLTextAreaElement> | undefined,
+ $target_textarea: JQuery<HTMLTextAreaElement> | undefined,
): void {
const link_text = $t({defaultMessage: "Join voice call."});
- compose_ui.insert_syntax_and_focus(`[${link_text}](${url})`, target_textarea, "block", 1);
+ compose_ui.insert_syntax_and_focus(`[${link_text}](${url})`, $target_textarea, "block", 1);
}
export function generate_and_insert_audio_or_video_call_link(