Spaces:
Sleeping
Sleeping
Update static/appS.js
Browse files- static/appS.js +3 -5
static/appS.js
CHANGED
@@ -8,7 +8,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
8 |
const SummarizeInput = document.querySelector(".SummarizeInput");
|
9 |
const CaptionInput = document.querySelector(".CaptionInput");
|
10 |
const gotItButton = document.getElementById('got-it-btn');
|
11 |
-
const explainChoixDiv = document.
|
12 |
|
13 |
let selectedFile = null;
|
14 |
let filePreviewBubble = null;
|
@@ -56,13 +56,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
56 |
});
|
57 |
|
58 |
// "Got it" button to hide explanation div
|
59 |
-
|
60 |
gotItButton.addEventListener('click', () => {
|
61 |
-
if (explainChoixDiv) {
|
62 |
explainChoixDiv.style.display = "none";
|
63 |
-
}
|
64 |
});
|
65 |
-
|
66 |
|
67 |
// Send button handlers
|
68 |
sendButtons.forEach(button => {
|
|
|
8 |
const SummarizeInput = document.querySelector(".SummarizeInput");
|
9 |
const CaptionInput = document.querySelector(".CaptionInput");
|
10 |
const gotItButton = document.getElementById('got-it-btn');
|
11 |
+
const explainChoixDiv = document.querySelector('.explainChoix');
|
12 |
|
13 |
let selectedFile = null;
|
14 |
let filePreviewBubble = null;
|
|
|
56 |
});
|
57 |
|
58 |
// "Got it" button to hide explanation div
|
59 |
+
|
60 |
gotItButton.addEventListener('click', () => {
|
|
|
61 |
explainChoixDiv.style.display = "none";
|
|
|
62 |
});
|
63 |
+
|
64 |
|
65 |
// Send button handlers
|
66 |
sendButtons.forEach(button => {
|