This commit is contained in:
Matteo Manzinello 2019-05-26 13:45:05 +02:00
parent 514671d82b
commit f5d7bef15c
2 changed files with 2 additions and 3 deletions

2
dist/mailgo.js vendored
View File

@ -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) {

View File

@ -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;
}