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]
|
||||
.trim()
|
||||
);
|
||||
}
|
||||
|
||||
if (mailgo.href && mailgo.href.toLowerCase().startsWith(CALLTO)) {
|
||||
} else if (mailgo.href && mailgo.href.toLowerCase().startsWith(CALLTO)) {
|
||||
tel = decodeURIComponent(
|
||||
mailgo.href
|
||||
.split("?")[0]
|
||||
.split(CALLTO)[1]
|
||||
.trim()
|
||||
);
|
||||
} else if (mailgo.hasAttribute("data-tel")) {
|
||||
tel = mailgo.getAttribute("data-tel");
|
||||
msg = mailgo.getAttribute("data-msg");
|
||||
}
|
||||
|
||||
// information
|
||||
|
Loading…
x
Reference in New Issue
Block a user