Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zform: Inline now-pointless render_html function.
Tim Abbottae3b2f31c81d
diff --git a/web/src/zform.ts b/web/src/zform.tsindex 8fc6f9f83ac..542fa389688 100644--- a/web/src/zform.ts+++ b/web/src/zform.ts@@ -80,13 +80,8 @@ export function render(opts: {$elem: JQuery; message: Message; widget_data: Widgreturn $elem;}- function render_html(data: ZFormExtraData): void {- if (data.type === "choices") {- $outer_elem.html(make_choices(data).html());- }+ if (data_with_choices_with_idx.type === "choices") {+ $outer_elem.html(make_choices(data_with_choices_with_idx).html());}-- render_html(data_with_choices_with_idx);-return;}