Update: remove debug console logs

pull/16/head
Juraj Nyíri 4 years ago
parent c31fd5d3d1
commit 5fd3d5ef96

@ -8,7 +8,6 @@ class ContentCardExample extends HTMLElement {
movieElems = []; movieElems = [];
renderPage = (hass) => { renderPage = (hass) => {
console.log(hass);
const _this = this; const _this = this;
if (this) this.innerHTML = ""; if (this) this.innerHTML = "";
const card = document.createElement("ha-card"); const card = document.createElement("ha-card");
@ -76,7 +75,6 @@ class ContentCardExample extends HTMLElement {
_this.previousPositions[i]["left"] !== _this.previousPositions[i]["left"] !==
_this.movieElems[i].offsetLeft) _this.movieElems[i].offsetLeft)
) { ) {
console.log("CHANGE");
_this.renderPage(hass); _this.renderPage(hass);
_this.previousPositions = []; _this.previousPositions = [];
} }
@ -187,8 +185,6 @@ class ContentCardExample extends HTMLElement {
const doc = document.documentElement; const doc = document.documentElement;
const top = const top =
(window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0); (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0);
console.log(this.parentElement);
console.log(top);
_this.minimizeAll(); _this.minimizeAll();
_this.showBackground(); _this.showBackground();
this.style.width = _this.expandedWidth + "px"; this.style.width = _this.expandedWidth + "px";

Loading…
Cancel
Save