diff --git a/src/snek/static/chat-input.js b/src/snek/static/chat-input.js index 90f3979..0800f61 100644 --- a/src/snek/static/chat-input.js +++ b/src/snek/static/chat-input.js @@ -181,8 +181,8 @@ class ChatInputComponent extends NjetComponent { this.dispatchEvent(new CustomEvent("uploaded", e)); }); this.uploadButton.addEventListener("click", (e) => { - e.preventDefault(); - this.fileUploadGrid.openFileDialog() + // e.preventDefault(); + // this.fileUploadGrid.openFileDialog() }) this.subscribe("file-uploading", (e) => {