meetshamee
Member
- Aug 24, 2022
- 57
- 31
- 18
/inc/themes/frontend/wimax/assets/js/wimax.jsThank you! Do you know how I can turn this off? Sometimes it really takes up to 30 seconds to load.
Remove :
this.set_timezone = function(){
var settings = {
"async": true,
"crossDomain": true,
"url": "https://api.ip.sb/geoip",
"dataType": "jsonp",
"method": "GET",
"headers": {
"Access-Control-Allow-Origin": "*"
}
}
$.ajax(settings).done(function (response) {
var timezone = response.timezone;
$.post(PATH+"timezone", {token:token, timezone:timezone}, function(){});
$(".auto-select-timezone").val(timezone);
});
};
Note : after Remove Auto time zone not working
You Can Set your selected time zome on signup.php
Code:
<select name="timezone" class="form-control auto-select-timezone">
<option value="Asia/Kolkata">(UTC +05:30) Asia/Kolkata</option>
</select>