This commit is contained in:
Skylar Grant 2024-09-12 15:42:38 -04:00
parent 7cc0c363ff
commit 4d17f80c00

View File

@ -100,6 +100,7 @@
.then(response => {
const pdfViewer = document.getElementById('pdfViewer');
pdfViewer.innerHTML = ''; // Clear any previous content
console.log('Emptied PDF Viewer');
if (response.ok) {
// If the PDF exists, reload the iframe