From 67755cceda3a937017276decd77d1f518ec4f1c2 Mon Sep 17 00:00:00 2001 From: Sarath Date: Thu, 26 Sep 2019 20:45:22 +0530 Subject: [PATCH] fixed copy mail issue #32 --- src/mailgo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mailgo.js b/src/mailgo.js index 3df1452..0c679df 100644 --- a/src/mailgo.js +++ b/src/mailgo.js @@ -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) {