Wednesday, August 29th, 2018
/* Remove all spaces in tel: href links so click to call works */
$('a[href^="tel:"]').attr('href', function(_,v){
return v.replace(/\(0\)|\s+/g,'')
});
Tags: Click to call, javascript, jQuery, Links, Phone, Tel, Telephone
Posted in jQuery | No Comments »