call default not in new tab

This commit is contained in:
Matteo Manzinello 2019-09-13 22:50:17 +02:00
parent 376db1d5b5
commit d0e9bba643

View File

@ -493,19 +493,19 @@ const actions = {
mailToEncoded(encEmail);
},
openWhatsApp: (tel, msg = "") => {
let waUrl = "https://wa.me/" + tel;
window.open(waUrl, "_blank");
},
openTelegram: (tel, msg = "") => {
let tgUrl = "tg://msg?text=" + msg + "&to=" + tel;
window.open(tgUrl, "_blank");
},
openWhatsApp: (tel, msg = "") => {
let waUrl = "https://wa.me/" + tel;
window.open(waUrl, "_blank");
},
callDefault: tel => {
let callUrl = "tel:" + tel;
window.open(callUrl, "_blank");
window.open(callUrl);
},
copy: (mail, copyButton) => {