1
0
forked from ScoDoc/ScoDoc

Assiduite : Changement page tableau. Fix #788

This commit is contained in:
Iziram 2023-10-23 10:08:00 +02:00
parent b78e1b8be4
commit 0b6c628e04

View File

@ -190,7 +190,7 @@
paginationContainerJustificatifs.querySelector('.pagination_moins').addEventListener('click', () => { paginationContainerJustificatifs.querySelector('.pagination_moins').addEventListener('click', () => {
if (currentPageJustificatifs > 1) { if (currentPageJustificatifs > 1) {
currentPageJustificatifs--; currentPageJustificatifs--;
paginationContainerJustificatifs.querySelector('#paginationJusti').value = currentPageAssiduites paginationContainerJustificatifs.querySelector('#paginationJusti').value = currentPageJustificatifs
justificatifCallBack(array); justificatifCallBack(array);
} }
}) })
@ -198,7 +198,7 @@
paginationContainerJustificatifs.querySelector('.pagination_plus').addEventListener('click', () => { paginationContainerJustificatifs.querySelector('.pagination_plus').addEventListener('click', () => {
if (currentPageJustificatifs < totalPages) { if (currentPageJustificatifs < totalPages) {
currentPageJustificatifs++; currentPageJustificatifs++;
paginationContainerJustificatifs.querySelector('#paginationJusti').value = currentPageAssiduites paginationContainerJustificatifs.querySelector('#paginationJusti').value = currentPageJustificatifs
justificatifCallBack(array); justificatifCallBack(array);
} }
}) })