changed the ref

This commit is contained in:
Matteo Manzinello 2019-05-22 12:51:11 +02:00
parent e744b703c0
commit 2f498134b7
3 changed files with 3 additions and 3 deletions

2
dist/mailgo.js vendored
View File

@ -134,7 +134,7 @@ var mailgoInit = function mailgoInit() {
modalContent.appendChild(copy); // by modalContent.appendChild(copy); // by
var by = document.createElement("a"); var by = document.createElement("a");
by.href = "https://mailgo.js.org?ref=" + window.location.hostname; by.href = window.location.hostname ? "https://mailgo.js.org?ref=" + window.location.hostname : "https://mailgo.js.org";
by.className = "mailgo-by"; by.className = "mailgo-by";
by.target = "_blank"; by.target = "_blank";
by.rel = "noopener noreferrer"; by.rel = "noopener noreferrer";

2
dist/mailgo.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -151,7 +151,7 @@ const mailgoInit = () => {
// by // by
let by = document.createElement("a"); let by = document.createElement("a");
by.href = "https://mailgo.js.org?ref=" + window.location.hostname; by.href = "https://mailgo.js.org?ref=mailgo-modal";
by.className = "mailgo-by"; by.className = "mailgo-by";
by.target = "_blank"; by.target = "_blank";
by.rel = "noopener noreferrer"; by.rel = "noopener noreferrer";