Skip to content

Commit

Permalink
Merge pull request #2175 from Daniel-KM/fix/jquery_on
Browse files Browse the repository at this point in the history
Fixed check of value language in resource form.
  • Loading branch information
zerocrates authored May 21, 2024
2 parents af6aed2 + 49b6587 commit 1a04571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/asset/js/resource-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
}
});

$('input.value-language').on('keyup, change', function(e) {
$('input.value-language').on('keyup change', function(e) {
if ('' === this.value || Omeka.langIsValid(this.value)) {
this.setCustomValidity('');
} else {
Expand Down

0 comments on commit 1a04571

Please sign in to comment.