Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 23, 2023
1 parent 311dc2c commit f1722fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/netteForms.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f1722fa

Please sign in to comment.