init style in head
This commit is contained in:
parent
c5034d1908
commit
e33b97fd0c
@ -2,10 +2,9 @@ const V = "MAILGO_VERSION";
|
|||||||
const MAILTO = "mailto:";
|
const MAILTO = "mailto:";
|
||||||
|
|
||||||
// mailgo style
|
// mailgo style
|
||||||
const mailgoCSS = document.createElement("link");
|
const mailgoCSS = document.createElement("style");
|
||||||
mailgoCSS.rel = "stylesheet";
|
|
||||||
mailgoCSS.type = "text/css";
|
mailgoCSS.type = "text/css";
|
||||||
mailgoCSS.href = "https://unpkg.com/mailgo@" + V + "/dist/mailgo.min.css";
|
mailgoCSS.appendChild("MAILGO_STYLE");
|
||||||
document.head.appendChild(mailgoCSS);
|
document.head.appendChild(mailgoCSS);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user