diff --git a/public/js/organization.js b/public/js/organization.js index d0e3321..76b6a1e 100644 --- a/public/js/organization.js +++ b/public/js/organization.js @@ -225,7 +225,7 @@ var updateListePDF = function() { for (var i = 0; i < document.querySelector('#input_pdf').files.length; i++) { let pdfLetter = String.fromCharCode(96 + i+1).toUpperCase(); const pdfFile = document.querySelector('#input_pdf').files.item(i); - document.querySelector('#list_pdf').insertAdjacentHTML('beforeend', '
  • '+decodeURI(pdfFile.name)+'
  • '); + document.querySelector('#list_pdf').insertAdjacentHTML('beforeend', '
  • '+decodeURI(pdfFile.name)+'
  • '); let fileItem = document.querySelector('#file_' + pdfLetter); fileItem.querySelector('input[type=checkbox]').addEventListener('change', function(e) { document.querySelectorAll('.canvas-container').forEach(function(page) {