diff --git a/src/mailgo.js b/src/mailgo.js index 40f317f..b7f5941 100644 --- a/src/mailgo.js +++ b/src/mailgo.js @@ -429,8 +429,6 @@ const mailgoTelRender = mailgo => { ); } - console.log(tel); - // information let titleEl = getE("mailgo-tel-title"); @@ -645,9 +643,12 @@ const hideMailgo = () => ( (getE("mailgo-tel").style.display = "none") ); -// is the modal hidden? +// is the mailgo modal hidden? const mailgoIsShowing = () => getE("mailgo").style.display === "flex"; +// is the mailgo tel modal hidden? +const mailgoTelIsShowing = () => getE("mailgo-tel").style.display === "flex"; + // decrypt email const mailToEncoded = encoded => (window.location.href = MAILTO + atob(encoded));