Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upload-widget: Fix using uppy editor after one failure.
Sahil Batra2a26f00eeebc
diff --git a/web/src/upload_widget.ts b/web/src/upload_widget.tsindex 26c59ab859e..9f190596204 100644--- a/web/src/upload_widget.ts+++ b/web/src/upload_widget.ts@@ -243,7 +243,7 @@ function open_uppy_editor(};}- uppy_widget.once("file-editor:complete", (file) => {+ uppy_widget.on("file-editor:complete", (file) => {assert(file.data instanceof File);let is_night = null;let for_realm_icon = true;