Fix: Render new items if needed on resize

pull/16/head
Juraj Nyíri 3 years ago
parent 1e9f51c0bb
commit 31926ddf7f

@ -19812,6 +19812,9 @@ class PlexMeetsHomeAssistant extends HTMLElement {
window.addEventListener('scroll', () => {
this.renderNewElementsIfNeeded();
});
window.addEventListener('resize', () => {
this.renderNewElementsIfNeeded();
});
this.loading = true;
this.renderPage();
try {

@ -135,6 +135,9 @@ class PlexMeetsHomeAssistant extends HTMLElement {
window.addEventListener('scroll', () => {
this.renderNewElementsIfNeeded();
});
window.addEventListener('resize', () => {
this.renderNewElementsIfNeeded();
});
this.loading = true;
this.renderPage();
try {

Loading…
Cancel
Save