Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Rename get_disabled_send_tooltip to add _html.
Tim Abbott6687cc9328f9
diff --git a/web/src/compose_tooltips.ts b/web/src/compose_tooltips.tsindex f35f447311f..8db7d892543 100644--- a/web/src/compose_tooltips.ts+++ b/web/src/compose_tooltips.ts@@ -235,7 +235,7 @@ export function initialize(): void {}if (instance.reference.classList.contains("disabled-message-send-controls")) {- const error_message = compose_validate.get_disabled_send_tooltip();+ const error_message = compose_validate.get_disabled_send_tooltip_html();instance.setContent(parse_html(error_message));// `display: flex` doesn't show the tooltip content inline when <i>general chat</i>// is in the error message.diff --git a/web/src/compose_validate.ts b/web/src/compose_validate.tsindex 787c6e0f33b..de779beea26 100644--- a/web/src/compose_validate.ts+++ b/web/src/compose_validate.ts@@ -130,7 +130,7 @@ export function get_posting_policy_error_message(): string {return posting_policy_error_message;}-export function get_disabled_send_tooltip(): string {+export function get_disabled_send_tooltip_html(): string {return disabled_send_tooltip_message_html;}