File manager - Edit - /home/premiey/www/wp-content/plugins/creame-whatsapp-me/admin/js/joinchat.min.js
Back
!function(a){"use strict";function l(){a(this).height(0).height(this.scrollHeight)}a(function(){var t,n,e,o,i;"function"==typeof intlTelInput&&a("#joinchat_phone").length&&(t=JSON.parse(localStorage.joinchat_country_code||"{}"),n=!(!t.code||t.date!=(new Date).toDateString())&&t.code,e=a("#joinchat_phone"),o=""===e.val()?e.attr("placeholder"):null,e.removeAttr("placeholder"),(i=intlTelInput(e[0],{hiddenInput:e.data("name")||"joinchat[telephone]",separateDialCode:!0,initialCountry:"auto",preferredCountries:[n||""],geoIpLookup:function(e){n?e(n):a.getJSON("https://ipinfo.io").always(function(t){t=t&&t.country?t.country:"";localStorage.joinchat_country_code=JSON.stringify({code:t,date:(new Date).toDateString()}),e(t)})},customPlaceholder:function(t){return intlTelConf.placeholder+" "+t},utilsScript:intlTelConf.utils_js})).hiddenInput.value=e.val(),"string"==typeof o&&""!=o&&i.promise.then(function(){i.setNumber(o),e.attr("placeholder",i.getNumber(intlTelInputUtils.numberFormat.NATIONAL)).val("")}),e.on("input countrychange",function(){var t=a(this),e=intlTelInputGlobals.getInstance(this);t.css("color",t.val().trim()&&!e.isValidNumber()?"#ca4a1f":""),e.hiddenInput.value=e.getNumber(),a("#joinchat_phone_test").attr("disabled",!e.isValidNumber())}).on("blur",function(){var t=intlTelInputGlobals.getInstance(this);t.setNumber(t.getNumber())})),a(".joinchat-metabox").length&&a(".joinchat-metabox textarea").on("focus input",l).each(l)})}(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings