File size: 317 Bytes
0ea56ae | 1 2 3 4 5 6 7 8 | document.addEventListener("DOMContentLoaded", function() {
const form = document.getElementById('promptForm');
form.addEventListener('submit', function() {
// Display the loading overlay when the form is submitted.
document.getElementById("loading").style.display = "flex";
});
});
|