Skip to content

Commit

Permalink
updated netteForms.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 31, 2024
1 parent 75bcd15 commit ff5b0ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/assets/netteForms.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@
}
form.noValidate = true;
form.addEventListener('submit', (e) => {
if (!this.validateForm(form.submitter || form)) {
if (!this.validateForm((e.submitter || form))) {
e.stopPropagation();
e.preventDefault();
}
Expand Down Expand Up @@ -552,7 +552,7 @@
return res.replace(/[^a-z0-9]+/g, '-').replace(/^-|-$/g, '');
}

var version = "3.5.1";
var version = "3.5.2";

let nette = new FormValidator;
nette.version = version;
Expand Down
2 changes: 1 addition & 1 deletion src/assets/netteForms.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nette-forms",
"version": "3.5.1",
"version": "3.5.2",
"description": "Client side script for Nette Forms Component",
"keywords": [
"nette",
Expand Down

0 comments on commit ff5b0ff

Please sign in to comment.