Tweak additional files to integrate decryption and clean up js

This commit is contained in:
Reece Browne
2024-12-10 22:21:00 +00:00
parent ef8231de3a
commit 64dfa4b841
11 changed files with 501 additions and 477 deletions

View File

@@ -52,8 +52,6 @@ function addSignatureFromPreview() {
let originalFileName = '';
document.querySelector('input[name=pdf-upload]').addEventListener('change', async (event) => {
const fileInput = event.target;
// Wait for the second function to complete
fileInput.addEventListener('file-input-change', async (e) => {
const {allFiles} = e.detail;
if (allFiles && allFiles.length > 0) {