?
This commit is contained in:
parent
7cc0c363ff
commit
4d17f80c00
@ -100,6 +100,7 @@
|
|||||||
.then(response => {
|
.then(response => {
|
||||||
const pdfViewer = document.getElementById('pdfViewer');
|
const pdfViewer = document.getElementById('pdfViewer');
|
||||||
pdfViewer.innerHTML = ''; // Clear any previous content
|
pdfViewer.innerHTML = ''; // Clear any previous content
|
||||||
|
console.log('Emptied PDF Viewer');
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
// If the PDF exists, reload the iframe
|
// If the PDF exists, reload the iframe
|
||||||
|
Loading…
Reference in New Issue
Block a user