data-tel!
This commit is contained in:
parent
153ced3b9b
commit
7a2db10072
2
dist/mailgo.min.js
vendored
2
dist/mailgo.min.js
vendored
File diff suppressed because one or more lines are too long
@ -413,15 +413,16 @@ const mailgoRender = (type = MAIL_TYPE, mailgo) => {
|
|||||||
.split(TEL)[1]
|
.split(TEL)[1]
|
||||||
.trim()
|
.trim()
|
||||||
);
|
);
|
||||||
}
|
} else if (mailgo.href && mailgo.href.toLowerCase().startsWith(CALLTO)) {
|
||||||
|
|
||||||
if (mailgo.href && mailgo.href.toLowerCase().startsWith(CALLTO)) {
|
|
||||||
tel = decodeURIComponent(
|
tel = decodeURIComponent(
|
||||||
mailgo.href
|
mailgo.href
|
||||||
.split("?")[0]
|
.split("?")[0]
|
||||||
.split(CALLTO)[1]
|
.split(CALLTO)[1]
|
||||||
.trim()
|
.trim()
|
||||||
);
|
);
|
||||||
|
} else if (mailgo.hasAttribute("data-tel")) {
|
||||||
|
tel = mailgo.getAttribute("data-tel");
|
||||||
|
msg = mailgo.getAttribute("data-msg");
|
||||||
}
|
}
|
||||||
|
|
||||||
// information
|
// information
|
||||||
|
Loading…
x
Reference in New Issue
Block a user