From 803ad3dfc6318d3773f8be6ad52bc9fc5a4e05fa Mon Sep 17 00:00:00 2001 From: retoor Date: Thu, 12 Jun 2025 00:09:16 +0200 Subject: [PATCH] Update. --- src/snek/static/chat-input.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) => {