Actualiser js/admin.js

This commit is contained in:
2026-06-21 14:11:02 +02:00
parent b65fedda93
commit fcbe6a7a3c
-8
View File
@@ -80,14 +80,6 @@ document.addEventListener('DOMContentLoaded', () => {
});
function initEventListeners() {
const physicalCheckbox = document.getElementById('admin-physical-checkbox');
if (physicalCheckbox) {
physicalCheckbox.addEventListener('change', (e) => {
adminPhysicalOnlyFilter = e.target.checked;
currentPage = 1;
renderAdminTable();
});
}
const filmForm = document.getElementById('film-form');
if (filmForm) filmForm.addEventListener('submit', saveFilmForm);