mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #730 from openclassify/muammertop
phonefield.js console error fixed
This commit is contained in:
commit
5eceef958f
@ -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