msg in wa
This commit is contained in:
parent
b0ec8a49cf
commit
04d299e19a
@ -544,18 +544,23 @@
|
||||
openTelegram: () => {
|
||||
// Telegram url
|
||||
let tgUrl = "https://t.me/" + telegramUsername;
|
||||
|
||||
// open the url
|
||||
window.open(tgUrl, "_blank");
|
||||
|
||||
// hide the modal
|
||||
hideMailgo();
|
||||
},
|
||||
|
||||
openSkype: () => {
|
||||
let skype = skypeUsername !== "" ? skypeUsername : tel;
|
||||
|
||||
// Telegram url
|
||||
let skypeUrl = "skype:" + skype;
|
||||
|
||||
// open the url
|
||||
window.open(skypeUrl, "_blank");
|
||||
|
||||
// hide the modal
|
||||
hideMailgo();
|
||||
},
|
||||
@ -563,8 +568,13 @@
|
||||
openWhatsApp: () => {
|
||||
// WhatsApp url
|
||||
let waUrl = "https://wa.me/" + tel;
|
||||
|
||||
// the details if provided
|
||||
if (msg) waUrl + "?text=" + msg;
|
||||
|
||||
// open the url
|
||||
window.open(waUrl, "_blank");
|
||||
|
||||
// hide the modal
|
||||
hideMailgo();
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user