Spaces:
Running
Running
Update static/application.js
Browse files- static/application.js +2 -2
static/application.js
CHANGED
@@ -8,8 +8,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
8 |
let selectedFile = null;
|
9 |
let filePreviewBubble = null;
|
10 |
// Hidden file inputs
|
11 |
-
const fileUpload = document.
|
12 |
-
const imageUpload = document.
|
13 |
|
14 |
// Create separate input elements for documents and images
|
15 |
const docInput = document.createElement("input");
|
|
|
8 |
let selectedFile = null;
|
9 |
let filePreviewBubble = null;
|
10 |
// Hidden file inputs
|
11 |
+
const fileUpload = document.querySelector(".fa-file");
|
12 |
+
const imageUpload = document.querySelector(".fa-image");
|
13 |
|
14 |
// Create separate input elements for documents and images
|
15 |
const docInput = document.createElement("input");
|