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