From 39b28366e7848a339e51c7e1618f3fbae4451a63 Mon Sep 17 00:00:00 2001 From: Matteo Manzinello Date: Mon, 28 Oct 2019 19:21:22 +0100 Subject: [PATCH] fix error with var copyTel --- src/mailgo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mailgo.js b/src/mailgo.js index 39fdbb5..e7723f8 100644 --- a/src/mailgo.js +++ b/src/mailgo.js @@ -297,7 +297,7 @@ modalContent.appendChild(call); // copy - let copyTel = document.createElement("a"); + copyTel = document.createElement("a"); copyTel.id = "mailgo-tel-copy"; copyTel.href = DEFAULT_BTN_HREF; copyTel.classList.add("mailgo-copy");