changed texts in tel modal

This commit is contained in:
Matteo Manzinello 2019-09-14 11:34:21 +02:00
parent 4b93e4d31b
commit b9f4454b30
3 changed files with 4 additions and 5 deletions

2
dist/mailgo.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -240,7 +240,7 @@ const mailgoTelInit = () => {
callSpan.className = "mailgo-weight-500";
let callSpanContent = document.createTextNode("call");
callSpan.appendChild(callSpanContent);
let callContent = document.createTextNode(" default");
let callContent = document.createTextNode(" as default");
call.appendChild(callSpan);
call.appendChild(callContent);
@ -409,8 +409,7 @@ const mailgoRender = mailgo => {
* function to render a single tel mailgo
*/
const mailgoTelRender = mailgo => {
let tel = "",
msg = "";
let tel = "";
if (mailgo.href && mailgo.href.toLowerCase().startsWith(TEL)) {
tel = decodeURIComponent(