Skip to content

Commit 4515859

Browse files
committed
adding space after 'if' and removing unused arguments
1 parent 8d9b2cb commit 4515859

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Ui/view/base/web/js/lib/validation

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/view/base/web/js/lib/validation/rules.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,8 +1069,8 @@ define([
10691069
$.mage.__('This link is not allowed.')
10701070
],
10711071
'validate-dob': [
1072-
function (value, params, additionalParams) {
1073-
if(value === '') {
1072+
function (value) {
1073+
if (value === '') {
10741074
return true;
10751075
}
10761076

0 commit comments

Comments
 (0)