This commit is contained in:
retoor 2025-06-12 00:09:16 +02:00
parent f965cc4ecd
commit 803ad3dfc6

View File

@ -181,8 +181,8 @@ class ChatInputComponent extends NjetComponent {
this.dispatchEvent(new CustomEvent("uploaded", e)); this.dispatchEvent(new CustomEvent("uploaded", e));
}); });
this.uploadButton.addEventListener("click", (e) => { this.uploadButton.addEventListener("click", (e) => {
e.preventDefault(); // e.preventDefault();
this.fileUploadGrid.openFileDialog() // this.fileUploadGrid.openFileDialog()
}) })
this.subscribe("file-uploading", (e) => { this.subscribe("file-uploading", (e) => {