mangle also the actions

This commit is contained in:
Matteo Manzinello 2019-10-28 08:40:22 +01:00
parent 09e57d1730
commit 387eaafd9b
3 changed files with 10 additions and 10 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

@ -499,7 +499,7 @@
}; };
// actions // actions
openGmail = () => { const openGmail = () => {
// Gmail url // Gmail url
let gmailUrl = let gmailUrl =
"https://mail.google.com/mail/u/0/?view=cm&source=mailto&to=" + "https://mail.google.com/mail/u/0/?view=cm&source=mailto&to=" +
@ -518,7 +518,7 @@
hideMailgo(); hideMailgo();
}; };
openOutlook = () => { const openOutlook = () => {
// Outlook url // Outlook url
let outlookUrl = let outlookUrl =
"https://outlook.live.com/owa/?path=/mail/action/compose&to=" + "https://outlook.live.com/owa/?path=/mail/action/compose&to=" +
@ -535,12 +535,12 @@
hideMailgo(); hideMailgo();
}; };
openDefault = () => { const openDefault = () => {
mailToEncoded(encEmail); mailToEncoded(encEmail);
hideMailgo(); hideMailgo();
}; };
openTelegram = () => { const openTelegram = () => {
// Telegram url // Telegram url
let tgUrl = "https://t.me/" + telegramUsername; let tgUrl = "https://t.me/" + telegramUsername;
@ -551,7 +551,7 @@
hideMailgo(); hideMailgo();
}; };
openSkype = () => { const openSkype = () => {
let skype = skypeUsername !== "" ? skypeUsername : tel; let skype = skypeUsername !== "" ? skypeUsername : tel;
// Telegram url // Telegram url
@ -564,7 +564,7 @@
hideMailgo(); hideMailgo();
}; };
openWhatsApp = () => { const openWhatsApp = () => {
// WhatsApp url // WhatsApp url
let waUrl = "https://wa.me/" + tel; let waUrl = "https://wa.me/" + tel;
@ -578,13 +578,13 @@
hideMailgo(); hideMailgo();
}; };
callDefault = () => { const callDefault = () => {
let callUrl = "tel:" + tel; let callUrl = "tel:" + tel;
window.open(callUrl); window.open(callUrl);
hideMailgo(); hideMailgo();
}; };
copy = content => { const copy = content => {
copyToClipboard(content); copyToClipboard(content);
// the correct copyButton (mail or tel) // the correct copyButton (mail or tel)
mailgoIsShowing(MAIL_TYPE) mailgoIsShowing(MAIL_TYPE)