diff --git a/package-lock.json b/package-lock.json index 3d7f7c54..6ddb192b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@oat-sa/tao-item-runner-qti", - "version": "2.3.0", + "version": "2.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@oat-sa/tao-item-runner-qti", - "version": "2.3.0", + "version": "2.3.1", "license": "GPL-2.0", "devDependencies": { "@oat-sa/browserslist-config-tao": "^1.0.1", diff --git a/package.json b/package.json index 91aca924..1779a064 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oat-sa/tao-item-runner-qti", - "version": "2.3.0", + "version": "2.3.1", "displayName": "TAO Item Runner QTI", "description": "TAO QTI Item Runner modules", "files": [ diff --git a/src/qtiCommonRenderer/renderers/interactions/TextEntryInteraction.js b/src/qtiCommonRenderer/renderers/interactions/TextEntryInteraction.js index cf478d6c..eec9b342 100644 --- a/src/qtiCommonRenderer/renderers/interactions/TextEntryInteraction.js +++ b/src/qtiCommonRenderer/renderers/interactions/TextEntryInteraction.js @@ -103,7 +103,6 @@ function validateDecimalInput($input) { const regex = new RegExp(regexPattern); if (!regex.test(value)) { - $input.addClass('invalid'); $input.addClass('error'); const decimalError = thousandsSeparator ? __( @@ -116,7 +115,6 @@ function validateDecimalInput($input) { : __('Invalid value, use %s %s for decimal point.', decimalSeparator, decimalSeparatorName); showTooltip($input, 'error', decimalError); } else { - $input.removeClass('invalid'); $input.removeClass('error'); hideTooltip($input); }