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}
|
||||
*/
|
||||
#lastProfile;
|
||||
/**
|
||||
* @type {MutationObserver | IntersectionObserver | undefined} (Unclear observer typing)
|
||||
*/
|
||||
#resizeObserver;
|
||||
|
||||
constructor() {
|
||||
if (browser.edgeUwp) {
|
||||
@ -963,11 +959,6 @@ function tryRemoveElement(elem) {
|
||||
* @private
|
||||
*/
|
||||
destroyCustomTrack(videoElement) {
|
||||
if (this.#resizeObserver) {
|
||||
this.#resizeObserver.disconnect();
|
||||
this.#resizeObserver = null;
|
||||
}
|
||||
|
||||
if (this.#videoSubtitlesElem) {
|
||||
const subtitlesContainer = this.#videoSubtitlesElem.parentNode;
|
||||
if (subtitlesContainer) {
|
||||
|
Loading…
Reference in New Issue
Block a user