This commit is contained in:
Skylar Grant 2024-09-12 15:46:57 -04:00
parent 1d49e9cff4
commit ab14d44900

View File

@ -157,7 +157,7 @@
}) })
.then(message => alert(message)) .then(message => alert(message))
.catch(error => alert('Error: ' + error)); .catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 1500); setTimeout(loadPDF, 300);
}); });
document.getElementById('printForm').addEventListener('submit', (event) => { document.getElementById('printForm').addEventListener('submit', (event) => {
@ -188,7 +188,7 @@
}) })
.then(message => alert(message)) .then(message => alert(message))
.catch(error => alert('Error: ' + error)); .catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 1500); setTimeout(loadPDF, 300);
}); });
document.getElementById('printTempPw').addEventListener('click', (event) => { document.getElementById('printTempPw').addEventListener('click', (event) => {
@ -213,7 +213,7 @@
}) })
.then(message => alert(message)) .then(message => alert(message))
.catch(error => alert('Error: ' + error)); .catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 1500); setTimeout(loadPDF, 300);
}); });
</script> </script>
</body> </body>