From 7e8c950ecf6e52dca5f208cf286aec2b4860e9be Mon Sep 17 00:00:00 2001 From: akhilmodi29 Date: Tue, 26 May 2026 15:59:26 +0530 Subject: [PATCH] fix: remove var redeclaration in syncSkillsHiddenInput to prevent variable shadowing --- static/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/script.js b/static/script.js index f97e5a0..8050825 100644 --- a/static/script.js +++ b/static/script.js @@ -413,7 +413,7 @@ if (clearFiltersBtn) { function syncSkillsHiddenInput() { if (!skillsHidden){ - var skillsHidden = document.getElementById("skills"); + skillsHidden = document.getElementById("skills"); } // Keep the hidden in sync for form serialisation // The API expects a comma-separated string, so join the array that way