From 3cc4b2d2a519190f05debef5eafa362f363c6413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Sun, 6 Jun 2021 17:45:18 +0200 Subject: [PATCH] Update: Remove left over console logs --- dist/plex-meets-homeassistant.js | 2 -- src/plex-meets-homeassistant.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 4706d10..0633b15 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19802,7 +19802,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { if (!this.detailsShown && window.innerHeight + window.scrollY > height + getOffset(this.content).top - 300 && this.renderedItems > 0) { - console.log('renderNewElementsIfNeeded'); this.maxRenderCount = this.renderedItems - 1 + this.columnsCount * (loadAdditionalRowsCount * 2); this.renderMovieElems(); this.calculatePositions(); @@ -20252,7 +20251,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { this.detailElem.children[0].innerHTML = escapeHtml(data.title); this.detailElem.children[1].innerHTML = escapeHtml(data.year); this.detailElem.children[1].dataset.year = escapeHtml(data.year); - console.log(data.rating); this.detailElem.children[2].innerHTML = `${(data.duration !== undefined ? `${Math.round(parseInt(escapeHtml(data.duration), 10) / 60 / 1000)} min` : '') + diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index 7f03c53..e4583cb 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -123,7 +123,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { window.innerHeight + window.scrollY > height + getOffset(this.content).top - 300 && this.renderedItems > 0 ) { - console.log('renderNewElementsIfNeeded'); this.maxRenderCount = this.renderedItems - 1 + this.columnsCount * (loadAdditionalRowsCount * 2); this.renderMovieElems(); @@ -616,7 +615,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { this.detailElem.children[0].innerHTML = escapeHtml(data.title); this.detailElem.children[1].innerHTML = escapeHtml(data.year); (this.detailElem.children[1] as HTMLElement).dataset.year = escapeHtml(data.year); - console.log(data.rating); this.detailElem.children[2].innerHTML = `${(data.duration !== undefined ? `${Math.round( parseInt(escapeHtml(data.duration), 10) / 60 / 1000