This commit is contained in:
Matteo Manzinello 2019-05-05 21:46:21 +02:00
parent e3b18e50b2
commit 9f0b4f6385
2 changed files with 7 additions and 9 deletions

14
dist/mailgo.js vendored
View File

@ -1,4 +1,8 @@
let styles = `
function mailgoInit() {
// ottengo tutti i mailto contenuti nella pagina
let mailgos = document.querySelectorAll('a[href^="mailto:"]:not(.no-mailgo)');
let styles = `
.mailgo-modal {
all: initial;
* {
@ -86,14 +90,8 @@ let styles = `
}
.mailgo-weight-500 {
font-weight: 500;
}
`;
}`;
function mailgoInit() {
// ottengo tutti i mailto contenuti nella pagina
let mailgos = document.querySelectorAll('a[href^="mailto:"]:not(.no-mailgo)');
// CSS
let styleSheet = document.createElement("style");
styleSheet.type = "text/css";
styleSheet.innerText = styles;

2
dist/mailgo.min.js vendored

File diff suppressed because one or more lines are too long