This commit is contained in:
Matteo Manzinello 2019-10-28 09:09:34 +01:00
parent e2e3b279da
commit ec6c123437
3 changed files with 9 additions and 9 deletions

2
dist/mailgo.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -424,12 +424,12 @@
: (bodyEl.style.display = "none"); : (bodyEl.style.display = "none");
// add the actions // add the actions
gmailButton.addEventListener("click", () => openGmail()); gmailButton.addEventListener("click", openGmail);
outlookButton.addEventListener("click", () => openOutlook()); outlookButton.addEventListener("click", openOutlook);
encEmail = encodeEmail(mail); encEmail = encodeEmail(mail);
openButton.addEventListener("click", () => openDefault()); openButton.addEventListener("click", openDefault);
copyButton.addEventListener("click", () => copy(mail || tel)); copyButton.addEventListener("click", () => copy(mail || tel));
} }
@ -478,16 +478,16 @@
titleEl.innerHTML = tel; titleEl.innerHTML = tel;
// add the actions to buttons // add the actions to buttons
waButton.addEventListener("click", () => openWhatsApp()); waButton.addEventListener("click", openWhatsApp);
if (telegramUsername) { if (telegramUsername) {
setDisplay("mailgo-telegram", "block"); setDisplay("mailgo-telegram", "block");
telegramButton.addEventListener("click", () => openTelegram()); telegramButton.addEventListener("click", openTelegram);
} }
skypeButton.addEventListener("click", () => openSkype()); skypeButton.addEventListener("click", openSkype);
callButton.addEventListener("click", () => callDefault()); callButton.addEventListener("click", callDefault);
copyButton.addEventListener("click", () => copy(tel)); copyButton.addEventListener("click", () => copy(tel));
} }