Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
astagi committed Sep 10, 2024
1 parent 9aa281d commit a55000f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/js/plugins/form-validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ class FormValidate {
this.formSelector = selector
this.target = document.querySelector(selector)

if(dictLocale != undefined)
this.validate = new JustValidate(selector, config, dictLocale)
else{
if (dictLocale != undefined) this.validate = new JustValidate(selector, config, dictLocale)
else {
this.validate = new JustValidate(selector, config)
}

Expand Down

0 comments on commit a55000f

Please sign in to comment.