Spaces:
Running
Running
Update static/script.js
Browse files- static/script.js +2 -0
static/script.js
CHANGED
@@ -410,6 +410,7 @@ playVoiceBtn.addEventListener("click", function () {
|
|
410 |
</div>
|
411 |
<div class="results-container">
|
412 |
<div class="results-placeholder">
|
|
|
413 |
<p class="placeholder-text" id="translateResult">The result will appear here...</p>
|
414 |
<div id="downloadSection" style="display: none; margin-top: 20px;">
|
415 |
<h3 style="color: white; margin-bottom: 10px;">Download the translation</h3>
|
@@ -423,6 +424,7 @@ playVoiceBtn.addEventListener("click", function () {
|
|
423 |
</div>
|
424 |
</div>
|
425 |
</div>
|
|
|
426 |
</div>
|
427 |
`;
|
428 |
document.body.innerHTML = "";
|
|
|
410 |
</div>
|
411 |
<div class="results-container">
|
412 |
<div class="results-placeholder">
|
413 |
+
<div id="scrollableResult" class="scrollable-text">
|
414 |
<p class="placeholder-text" id="translateResult">The result will appear here...</p>
|
415 |
<div id="downloadSection" style="display: none; margin-top: 20px;">
|
416 |
<h3 style="color: white; margin-bottom: 10px;">Download the translation</h3>
|
|
|
424 |
</div>
|
425 |
</div>
|
426 |
</div>
|
427 |
+
</div>
|
428 |
</div>
|
429 |
`;
|
430 |
document.body.innerHTML = "";
|