added a function to find if mailgo is showing
This commit is contained in:
parent
2a34df709f
commit
49597597f4
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user