mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
phonefield.js console error fixed
This commit is contained in:
parent
18e35ac6da
commit
ea5d738ed1
@ -1,5 +1,6 @@
|
||||
function phoneMask(fields) {
|
||||
var country = document.getElementById('country').innerText;
|
||||
var country = document.getElementById('country')
|
||||
? document.getElementById('country').innerText : null;
|
||||
var inputQueries = document.querySelectorAll(fields);
|
||||
inputQueries.forEach(function (inputQuery, key) {
|
||||
var iti = intlTelInput(inputQuery, {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user