|
|
|
@ -23120,9 +23120,18 @@ class PlexMeetsHomeAssistant extends HTMLElement {
|
|
|
|
|
if (this.episodesElem) {
|
|
|
|
|
this.episodesElem.style.transition = `0.7s`;
|
|
|
|
|
if (this.activeMovieElem) {
|
|
|
|
|
this.episodesElem.style.top = `${top + getHeight(this.activeMovieElem) + 16 * 2}px`;
|
|
|
|
|
if (!lodash.isEmpty(lodash.get(data, 'thumb'))) {
|
|
|
|
|
this.episodesElem.style.top = `${top + getHeight(this.activeMovieElem) + 16 * 2}px`;
|
|
|
|
|
}
|
|
|
|
|
else if (this.detailElem) {
|
|
|
|
|
this.episodesElem.style.top = `${top + getHeight(this.detailElem)}px`;
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
this.episodesElem.style.top = `${top}px`;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
console.log('2');
|
|
|
|
|
this.episodesElem.style.top = `${top + this.minExpandedHeight + 16}px`;
|
|
|
|
|
}
|
|
|
|
|
this.resizeBackground();
|
|
|
|
|