working 2 on Skype!

This commit is contained in:
Matteo Manzinello 2019-09-19 12:55:42 +02:00
parent 427d550d7c
commit 0d09788eae

View File

@ -37,8 +37,9 @@ let tel = "",
let gmailButton, let gmailButton,
outlookButton, outlookButton,
openButton, openButton,
waButton,
telegramButton, telegramButton,
waButton,
skypeButton,
callButton, callButton,
copyButton; copyButton;
@ -465,8 +466,9 @@ const mailgoRender = (type = MAIL_TYPE, mailgo) => {
} }
// actions // actions
waButton = getE("mailgo-wa");
telegramButton = getE("mailgo-telegram"); telegramButton = getE("mailgo-telegram");
waButton = getE("mailgo-wa");
skypeButton = getE("mailgo-skype");
callButton = getE("mailgo-call"); callButton = getE("mailgo-call");
copyButton = getE("mailgo-tel-copy"); copyButton = getE("mailgo-tel-copy");
@ -481,6 +483,8 @@ const mailgoRender = (type = MAIL_TYPE, mailgo) => {
telegramButton.addEventListener("click", () => actions.openTelegram()); telegramButton.addEventListener("click", () => actions.openTelegram());
} }
skypeButton.addEventListener("click", () => actions.openSkype());
callButton.addEventListener("click", () => actions.callDefault()); callButton.addEventListener("click", () => actions.callDefault());
copyButton.addEventListener("click", () => actions.copy(tel)); copyButton.addEventListener("click", () => actions.copy(tel));