mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
phonefield default country fixed
This commit is contained in:
parent
694603ab88
commit
3f9d5c3381
@ -1,7 +1,6 @@
|
|||||||
function phoneMask(fields) {
|
function phoneMask(fields) {
|
||||||
var country = document.getElementById('default-phone-country')
|
var country = document.getElementById('default-phone-country')
|
||||||
? document.getElementById('default-phone-country').innerText : null;
|
? document.getElementById('default-phone-country').innerText : null;
|
||||||
alert(country)
|
|
||||||
var inputQueries = document.querySelectorAll(fields);
|
var inputQueries = document.querySelectorAll(fields);
|
||||||
inputQueries.forEach(function (inputQuery, key) {
|
inputQueries.forEach(function (inputQuery, key) {
|
||||||
var iti = intlTelInput(inputQuery, {
|
var iti = intlTelInput(inputQuery, {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user