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.

zform: Rename render helper method.

Tim Abbott4719b7062c92
diff --git a/web/src/zform.ts b/web/src/zform.ts
index 53ec3ac5d50..d438256cd0b 100644
--- a/web/src/zform.ts
+++ b/web/src/zform.ts
@@ -55,7 +55,7 @@ export function activate(opts: {
return $elem;
}
- function render(): void {
+ function render_html(): void {
if (data.type === "choices") {
$outer_elem.html(make_choices(data).html());
}
@@ -65,10 +65,10 @@ export function activate(opts: {
if (events) {
blueslip.info("unexpected");
}
- render();
+ render_html();
};
- render();
+ render_html();
return handle_events;
}