?
This commit is contained in:
parent
7cc0c363ff
commit
4d17f80c00
@ -100,7 +100,8 @@
|
||||
.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
|
||||
const iframe = document.createElement('iframe');
|
||||
|
Loading…
Reference in New Issue
Block a user