From 5747e41b3c269938fc9c5938971c04f2f068721a Mon Sep 17 00:00:00 2001 From: Matteo Manzinello Date: Mon, 13 May 2019 12:03:22 +0200 Subject: [PATCH] rename stylesheet in mailgoCSS --- src/mailgo.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mailgo.js b/src/mailgo.js index edf42e7..52c2455 100644 --- a/src/mailgo.js +++ b/src/mailgo.js @@ -2,11 +2,11 @@ const V = "MAILGO_VERSION"; const MAILTO = "mailto:"; // mailgo style -const styleSheet = document.createElement("link"); -styleSheet.rel = "stylesheet"; -styleSheet.type = "text/css"; -styleSheet.href = "https://unpkg.com/mailgo@" + V + "/dist/mailgo.min.css"; -document.head.appendChild(styleSheet); +const mailgoCSS = document.createElement("link"); +mailgoCSS.rel = "stylesheet"; +mailgoCSS.type = "text/css"; +mailgoCSS.href = "https://unpkg.com/mailgo@" + V + "/dist/mailgo.min.css"; +document.head.appendChild(mailgoCSS); /** * mailgoInit