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.

realm_logo: Fix selector for image_upload_widget.hbs migration.

Anders Kaseorg548805dff9df
diff --git a/web/src/realm_logo.ts b/web/src/realm_logo.ts
index cabdf99925d..5c3b35be5f0 100644
--- a/web/src/realm_logo.ts
+++ b/web/src/realm_logo.ts
@@ -72,7 +72,7 @@ function change_logo_delete_button(
export function render(): void {
const $file_input = $<HTMLInputElement>("#realm-day-logo-upload-widget .image_file_input");
const $night_file_input = $<HTMLInputElement>(
- "#realm-night-logo-upload-widget .realm-logo-file-input",
+ "#realm-night-logo-upload-widget .image_file_input",
);
$("#realm-day-logo-upload-widget .image-block").attr("src", realm.realm_logo_url);