added a function to find if mailgo is showing
This commit is contained in:
@@ -455,6 +455,11 @@ const hideMailgo = () => {
|
||||
document.body.removeEventListener("keydown", mailgoKeydown, false);
|
||||
};
|
||||
|
||||
// is the modal hidden?
|
||||
const mailgoHidden = () => {
|
||||
return getE("mailgo").style.display === "none";
|
||||
};
|
||||
|
||||
// decrypt email
|
||||
const mailToEncoded = encoded =>
|
||||
(window.location.href = MAILTO + atob(encoded));
|
||||
|
||||
Reference in New Issue
Block a user