From 5fd3d5ef962c32fba386106861c7f567b0495438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Mon, 3 May 2021 01:33:30 +0200 Subject: [PATCH] Update: remove debug console logs --- www/content-card-example.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/www/content-card-example.js b/www/content-card-example.js index b9a8da5..dfa5041 100644 --- a/www/content-card-example.js +++ b/www/content-card-example.js @@ -8,7 +8,6 @@ class ContentCardExample extends HTMLElement { movieElems = []; renderPage = (hass) => { - console.log(hass); const _this = this; if (this) this.innerHTML = ""; const card = document.createElement("ha-card"); @@ -76,7 +75,6 @@ class ContentCardExample extends HTMLElement { _this.previousPositions[i]["left"] !== _this.movieElems[i].offsetLeft) ) { - console.log("CHANGE"); _this.renderPage(hass); _this.previousPositions = []; } @@ -187,8 +185,6 @@ class ContentCardExample extends HTMLElement { const doc = document.documentElement; const top = (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0); - console.log(this.parentElement); - console.log(top); _this.minimizeAll(); _this.showBackground(); this.style.width = _this.expandedWidth + "px";