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