From d2880eb3b1d468b24729dce92ef71f8f63708418 Mon Sep 17 00:00:00 2001 From: kdeterme Date: Mon, 14 Sep 2026 15:03:20 +0200 Subject: [PATCH] fix(inspections): remove duplicate editModalEl declaration in edit modal --- .../templates/inspections/components/edit_inspection_modal.html | 1 - 1 file changed, 1 deletion(-) diff --git a/loko/inspections/templates/inspections/components/edit_inspection_modal.html b/loko/inspections/templates/inspections/components/edit_inspection_modal.html index 8ccf337..2b0ab86 100644 --- a/loko/inspections/templates/inspections/components/edit_inspection_modal.html +++ b/loko/inspections/templates/inspections/components/edit_inspection_modal.html @@ -737,7 +737,6 @@ document.addEventListener('DOMContentLoaded', function() { }); } - const editModalEl = document.getElementById('editInspectionModal'); if (editModalEl) { editModalEl.addEventListener('hidden.bs.modal', function() { if (typeof window.toggleEditMissingResultChoice === 'function') {