comments
This commit is contained in:
parent
514671d82b
commit
f5d7bef15c
2
dist/mailgo.js
vendored
2
dist/mailgo.js
vendored
@ -399,7 +399,7 @@ var encodeEmail = function encodeEmail(email) {
|
||||
|
||||
var getE = function getE(id) {
|
||||
return document.getElementById(id);
|
||||
}; // custom composedPath
|
||||
}; // custom composedPath if path or event.composedPath() are not defined
|
||||
|
||||
|
||||
var composedPath = function composedPath(el) {
|
||||
|
@ -481,7 +481,7 @@ const encodeEmail = email => btoa(email);
|
||||
// getE shorthand
|
||||
const getE = id => document.getElementById(id);
|
||||
|
||||
// custom composedPath
|
||||
// custom composedPath if path or event.composedPath() are not defined
|
||||
const composedPath = el => {
|
||||
let path = [];
|
||||
|
||||
@ -491,7 +491,6 @@ const composedPath = el => {
|
||||
if (el.tagName === "HTML") {
|
||||
path.push(document);
|
||||
path.push(window);
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user