From ccb25e530222ebe8cfd39e60dfbfa265a3f2566f Mon Sep 17 00:00:00 2001 From: Greenscreener Date: Mon, 8 Jul 2019 15:37:18 +0200 Subject: [PATCH] Removed calc()s. The magic I planned to make didn't work anyway. --- patekLogo.js | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/patekLogo.js b/patekLogo.js index 3d95b70..32adef2 100644 --- a/patekLogo.js +++ b/patekLogo.js @@ -37,14 +37,11 @@ class PatekLogo extends HTMLElement { this.shadow.innerHTML = ` `; - // The magic with the --scale variable doesn't work, but I left it in there just in case we would want to somehow use it later. const wrapper = document.createElement("span"); wrapper.setAttribute('id','wrapper'); wrapper.innerHTML += `${typeof this.attributes.title !== "undefined" ? this.attributes.title.value : "Pátek"}`;