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
commit 1d7da43f91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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