mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
upload: Don't render upload button instead of hiding.
Doesn't make sense to hide the upload button button later when we can just not show it if the browser doesn't has support for it.
This commit is contained in:
@@ -103,8 +103,6 @@ export function initialize() {
|
||||
const update_compose_max_height = new ResizeObserver(resize.reset_compose_message_max_height);
|
||||
update_compose_max_height.observe(document.querySelector("#compose"));
|
||||
|
||||
upload.feature_check($("#compose .compose_upload_file"));
|
||||
|
||||
function get_input_info(event) {
|
||||
const $edit_banners_container = $(event.target).closest(".edit_form_banners");
|
||||
const is_edit_input = Boolean($edit_banners_container.length);
|
||||
|
||||
Reference in New Issue
Block a user