diff --git a/content/pages/checkout.blade.php b/content/pages/checkout.blade.php index 1054b20..ba7bf4b 100644 --- a/content/pages/checkout.blade.php +++ b/content/pages/checkout.blade.php @@ -325,7 +325,9 @@ $(window).on('load', google.maps.event, initialize); let input = document.querySelector("#ctelefon"); let iti = window.intlTelInput(input, { - initialCountry: "de", geoIpLookup: function(callback) { + initialCountry: "de", + preferredCountries: ["de"], + geoIpLookup: function(callback) { $.get('https://ipinfo.io', function() {}, "jsonp").always(function(resp) { let countryCode = (resp && resp.country)?resp.country:"us"; callback(countryCode); @@ -333,6 +335,7 @@ }, utilsScript: "{{storage('assets/libs/intl-tel-input/js/utils.min.js')}}", }); + // iti.getNumber(); function updateProducts(){}