mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 10:28:18 -07:00
parent
92713963a5
commit
2348f815c6
@ -273,10 +273,6 @@ function tryRemoveElement(elem) {
|
|||||||
* @type {any | undefined}
|
* @type {any | undefined}
|
||||||
*/
|
*/
|
||||||
#lastProfile;
|
#lastProfile;
|
||||||
/**
|
|
||||||
* @type {MutationObserver | IntersectionObserver | undefined} (Unclear observer typing)
|
|
||||||
*/
|
|
||||||
#resizeObserver;
|
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
if (browser.edgeUwp) {
|
if (browser.edgeUwp) {
|
||||||
@ -963,11 +959,6 @@ function tryRemoveElement(elem) {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
destroyCustomTrack(videoElement) {
|
destroyCustomTrack(videoElement) {
|
||||||
if (this.#resizeObserver) {
|
|
||||||
this.#resizeObserver.disconnect();
|
|
||||||
this.#resizeObserver = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.#videoSubtitlesElem) {
|
if (this.#videoSubtitlesElem) {
|
||||||
const subtitlesContainer = this.#videoSubtitlesElem.parentNode;
|
const subtitlesContainer = this.#videoSubtitlesElem.parentNode;
|
||||||
if (subtitlesContainer) {
|
if (subtitlesContainer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user