compose: Move uppy to upload module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-10-03 13:13:33 -07:00
committed by Tim Abbott
parent abece73c5a
commit fb19476c4e
6 changed files with 13 additions and 30 deletions

View File

@@ -649,6 +649,7 @@ export function initialize_everything() {
on_enter_send: compose.finish,
});
compose_textarea.initialize();
upload.initialize();
search.initialize({
on_narrow_search: narrow.activate,
});
@@ -694,7 +695,6 @@ export function initialize_everything() {
hotspots.initialize();
typing.initialize();
starred_messages_ui.initialize();
upload.initialize();
user_status_ui.initialize();
fenced_code.initialize(generated_pygments_data);
message_edit_history.initialize();