mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-05-31 06:12:00 +00:00
filename element doesn't exist
This commit is contained in:
parent
47eaeb1984
commit
5a2128565e
@ -21,12 +21,10 @@ export class DeletePageCommand extends Command {
|
|||||||
this.pagesContainer.removeChild(this.element);
|
this.pagesContainer.removeChild(this.element);
|
||||||
if (this.pagesContainer.childElementCount === 0) {
|
if (this.pagesContainer.childElementCount === 0) {
|
||||||
const filenameInput = document.getElementById("filename-input");
|
const filenameInput = document.getElementById("filename-input");
|
||||||
const filenameParagraph = document.getElementById("filename");
|
|
||||||
const downloadBtn = document.getElementById("export-button");
|
const downloadBtn = document.getElementById("export-button");
|
||||||
|
|
||||||
filenameInput.disabled = true;
|
filenameInput.disabled = true;
|
||||||
filenameInput.value = "";
|
filenameInput.value = "";
|
||||||
filenameParagraph.innerText = "";
|
|
||||||
|
|
||||||
downloadBtn.disabled = true;
|
downloadBtn.disabled = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user