diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 1ba6846..9406830 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -22375,9 +22375,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { return searchContainer; }; this.renderMovieElems = () => { - console.log('renderMovieElems'); const renderElements = (render, hasEpisodesResult, searchValues, itemsPerRow) => { - console.log('renderElements'); const origRenderedRows = this.renderedRows; const origRenderedItems = this.renderedItems; const origColumnsCount = this.columnsCount; @@ -22449,7 +22447,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { lastRowTop = movieElem.getBoundingClientRect().top; if (!isScrolledIntoView(movieElem) && !this.maxRenderCount && this.renderedItems > 0) { this.maxRenderCount = this.renderedItems - 1 + this.columnsCount * loadAdditionalRowsCount; - console.log(`1: this.maxRenderCount = ${this.maxRenderCount}`); } } if (this.maxRows && this.renderedRows > this.maxRows && !this.useHorizontalScroll) { diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index 57f8bde..f8c5a5c 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -601,14 +601,12 @@ class PlexMeetsHomeAssistant extends HTMLElement { }; renderMovieElems = (): void => { - console.log('renderMovieElems'); const renderElements = ( render: boolean, hasEpisodesResult: any, searchValues: Array, itemsPerRow: number ): Record => { - console.log('renderElements'); const origRenderedRows = this.renderedRows; const origRenderedItems = this.renderedItems; const origColumnsCount = this.columnsCount; @@ -690,7 +688,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { lastRowTop = movieElem.getBoundingClientRect().top; if (!isScrolledIntoView(movieElem) && !this.maxRenderCount && this.renderedItems > 0) { this.maxRenderCount = this.renderedItems - 1 + this.columnsCount * loadAdditionalRowsCount; - console.log(`1: this.maxRenderCount = ${this.maxRenderCount}`); } } if (this.maxRows && this.renderedRows > this.maxRows && !this.useHorizontalScroll) {