From f1722fa7c1aca4f63cac9a36df38689c5e91ea88 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Tue, 24 Oct 2023 01:19:02 +0200 Subject: [PATCH] x --- src/assets/netteForms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/netteForms.js b/src/assets/netteForms.js index 105dd0a45..d41496f0c 100644 --- a/src/assets/netteForms.js +++ b/src/assets/netteForms.js @@ -559,7 +559,7 @@ Nette.toggleForm = function(form, event) { var i; formToggles = {}; - for (i = 0; i < form.elements.length; i++) { + for (i = 0; i < form.elements.length; i++) if (form.elements[i].tagName.toLowerCase() in {input: 1, select: 1, textarea: 1, button: 1}) { Nette.toggleControl(form.elements[i], null, null, !event); }