mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
HTMLSubtitles and HTMLVideo instances frozen
This commit is contained in:
parent
7111a9599d
commit
312b3d8d15
2 changed files with 4 additions and 0 deletions
|
|
@ -165,6 +165,8 @@ var HTMLSubtitles = function(containerElement) {
|
|||
containerElement.removeChild(stylesElement);
|
||||
containerElement.removeChild(subtitlesElement);
|
||||
};
|
||||
|
||||
Object.freeze(this);
|
||||
};
|
||||
|
||||
module.exports = HTMLSubtitles;
|
||||
|
|
|
|||
|
|
@ -397,6 +397,8 @@ var HTMLVideo = function(containerElement) {
|
|||
dispatchArgsQueue.push(Array.from(arguments));
|
||||
}
|
||||
};
|
||||
|
||||
Object.freeze(this);
|
||||
};
|
||||
|
||||
HTMLVideo.manifest = Object.freeze({
|
||||
|
|
|
|||
Loading…
Reference in a new issue