mirror of
https://gitea.invidious.io/iv-org/videojs-vtt-thumbnails.git
synced 2024-08-15 00:43:16 +00:00
fix bug with thumbnail holder removal
This commit is contained in:
parent
d75c370d0e
commit
fc2b523fe8
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class vttThumbnailsPlugin {
|
|||
}
|
||||
|
||||
resetPlugin() {
|
||||
this.thumbnailHolder.parentNode.removeChild(this.thumbnailHolder);
|
||||
this.thumbnailHolder && this.thumbnailHolder.parentNode.removeChild(this.thumbnailHolder);
|
||||
this.progressBar.removeEventListener('mouseenter', this.registeredEvents.progressBarMouseEnter);
|
||||
this.progressBar.removeEventListener('mouseleave', this.registeredEvents.progressBarMouseLeave);
|
||||
this.progressBar.removeEventListener('mousemove', this.registeredEvents.progressBarMouseMove);
|
||||
|
|
Loading…
Reference in a new issue