Merge pull request #33 from saratonite/dev

fixed copy mail issue  #32
This commit is contained in:
Matteo Manzinello
2019-09-26 17:18:28 +02:00
committed by GitHub

View File

@@ -434,7 +434,7 @@ const mailgoRender = (type = MAIL_TYPE, mailgo) => {
encEmail = encodeEmail(mail); encEmail = encodeEmail(mail);
openButton.addEventListener("click", () => actions.openDefault()); openButton.addEventListener("click", () => actions.openDefault());
copyButton.addEventListener("click", () => actions.copy()); copyButton.addEventListener("click", () => actions.copy(mail || tel));
} }
// mailgo tel // mailgo tel
if (type === TEL_TYPE) { if (type === TEL_TYPE) {