From 49b658727df1c3745a0137337c37be7da855c6bd Mon Sep 17 00:00:00 2001 From: Daniel Berthereau Date: Mon, 1 Apr 2024 00:00:00 +0000 Subject: [PATCH] Fixed check of value language in resource form. --- application/asset/js/resource-form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/asset/js/resource-form.js b/application/asset/js/resource-form.js index e89ca7738..db77d9ef1 100644 --- a/application/asset/js/resource-form.js +++ b/application/asset/js/resource-form.js @@ -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 {