Добавил обработку виртуального поля счета

master
Sipachev Igor 4 years ago
parent 06ada6bd79
commit fff52e9bed
  1. 4
      assets/js/script.js

@ -5,6 +5,10 @@ function insertValueToNode(target, value) {
nodeList = document.querySelectorAll('*[name*="personal_id"]') nodeList = document.querySelectorAll('*[name*="personal_id"]')
break break
case 'iban': case 'iban':
nodeList = document.querySelectorAll('.user-bank-account__fake')
for (const node of nodeList) {
node.value = value.substr(2)
}
nodeList = document.querySelectorAll('*[name*="bankaccount"]') nodeList = document.querySelectorAll('*[name*="bankaccount"]')
break break
case 'phone': case 'phone':

Loading…
Cancel
Save