hide the modal after an action!
This commit is contained in:
parent
e32177213b
commit
d06681ad58
2
dist/mailgo.min.js
vendored
2
dist/mailgo.min.js
vendored
File diff suppressed because one or more lines are too long
@ -476,6 +476,8 @@ const actions = {
|
|||||||
if (bodyMail) gmailUrl = gmailUrl.concat("&body=" + bodyMail);
|
if (bodyMail) gmailUrl = gmailUrl.concat("&body=" + bodyMail);
|
||||||
|
|
||||||
window.open(gmailUrl, "_blank");
|
window.open(gmailUrl, "_blank");
|
||||||
|
|
||||||
|
hideMailgo();
|
||||||
},
|
},
|
||||||
|
|
||||||
openOutlook: () => {
|
openOutlook: () => {
|
||||||
@ -486,25 +488,30 @@ const actions = {
|
|||||||
if (bodyMail) outlookUrl = outlookUrl.concat("&body=" + bodyMail);
|
if (bodyMail) outlookUrl = outlookUrl.concat("&body=" + bodyMail);
|
||||||
|
|
||||||
window.open(outlookUrl, "_blank");
|
window.open(outlookUrl, "_blank");
|
||||||
|
hideMailgo();
|
||||||
},
|
},
|
||||||
|
|
||||||
openDefault: () => {
|
openDefault: () => {
|
||||||
mailToEncoded(encEmail);
|
mailToEncoded(encEmail);
|
||||||
|
hideMailgo();
|
||||||
},
|
},
|
||||||
|
|
||||||
openTelegram: () => {
|
openTelegram: () => {
|
||||||
let tgUrl = "tg://msg?text=" + msg + "&to=" + tel;
|
let tgUrl = "tg://msg?text=" + msg + "&to=" + tel;
|
||||||
window.open(tgUrl, "_blank");
|
window.open(tgUrl, "_blank");
|
||||||
|
hideMailgo();
|
||||||
},
|
},
|
||||||
|
|
||||||
openWhatsApp: () => {
|
openWhatsApp: () => {
|
||||||
let waUrl = "https://wa.me/" + tel;
|
let waUrl = "https://wa.me/" + tel;
|
||||||
window.open(waUrl, "_blank");
|
window.open(waUrl, "_blank");
|
||||||
|
hideMailgo();
|
||||||
},
|
},
|
||||||
|
|
||||||
callDefault: () => {
|
callDefault: () => {
|
||||||
let callUrl = "tel:" + tel;
|
let callUrl = "tel:" + tel;
|
||||||
window.open(callUrl);
|
window.open(callUrl);
|
||||||
|
hideMailgo();
|
||||||
},
|
},
|
||||||
|
|
||||||
copy: content => {
|
copy: content => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user